Thursday, August 10, 2023

Fruit shop Program Coding

 apple=50

orange=30

banana=40

mango=50

stawbery=20

x=int(input("apple enter weight = "))

a=x*apple

y=int(input("orange enter weight = "))

b=y*orange

w=int(input("banana enter weight = "))

c=w*banana

z=int(input("mango enter weight = "))

d=z*mango

q=int(input("stawbery enter weight = "))

e=q*stawbery

total=a+b+c+d+e 

discount=(total*20)/100

amount=total-discount

print("          pk fruits  ")

print("s.no    items      weight     price")

print(" 1       apple       ",x," "     , a)

print(" 2      orange       ",y," "     , b)

print(" 3       banana      ",w," "     , c)

print(" 4       mango       ",z," "     , d)

print(" 5       stawbery    ",q," "     ,e)  

print("         total          "             , total )

print("         discount       "             , discount  )

print("         amount         "             ,  amount)






USD TO INR C++ PROGRAMMING

  NALLAMUTHU GOUNDER MAHALINGAM COLLEGE                                                 POLLACHI-642001                                     ...