Wednesday, September 6, 2023

Operators Using - Python program coding

INPUT:

a=5

b=10

print("1.addition\n2.subtraction\n3.multiplication\n4.division\n5.modulo")

option=int(input("enter your own option:-"))

if option==1:

    print(f"addition:{a+b}")

elif option==2:

    print(f"subtraction:{a-b}")

elif option==3:

    print(f"multiplication:{a*b}")

elif option==4:

    print(f"division:{a/b}")

elif option==5:

    print(f"modulo:{a%b}")




USD TO INR C++ PROGRAMMING

  NALLAMUTHU GOUNDER MAHALINGAM COLLEGE                                                 POLLACHI-642001                                     ...