Tuesday, May 2, 2023

INPUT :

print("\t\tstationary bill\n")

bag=int(input("Enter the quantity of bag:"))

a=(bag*(998+2))

print("\t\t\t\t",a)

pen=int(input("Enter the quantity of pen:"))

b=(pen*(52-2))

print("\t\t\t\t",b)

note=int(input("Enter the quantity of note:"))

c=(note*(110/2))

print("\t\t\t\t",c)

box=int(input("Enter the quantity of box:"))

e=(box*(30+20))

print("\t\t\t\t",e)

knife=int(input("Enter the quantity of knife:"))

f=(knife*(53-3))

print("\t\t\t\t",f)

t=a+b+c+e+f

print("total amount:\t\t\t",t)

g=(90/100*t)

print("Discount:\t\t\t",g)

OUTPUT :

               stationary bill


Enter the quantity of bag:5

                                 5000

Enter the quantity of pen:1

                                 50

Enter the quantity of note:5

                                 275.0

Enter the quantity of box:5

                                 250

Enter the quantity of knife:5

                                 250

total amount:                    5825.0

Discount:                        5242.5




USD TO INR C++ PROGRAMMING

  NALLAMUTHU GOUNDER MAHALINGAM COLLEGE                                                 POLLACHI-642001                                     ...