No products in the cart.

Write a program to input the …

CBSE, JEE, NEET, CUET

CBSE, JEE, NEET, CUET

Question Bank, Mock Tests, Exam Papers

NCERT Solutions, Sample Papers, Notes, Videos

Write a program to input the cost of one product. If the cost is more then 500 then give 10% discount and also add 12.5% GST in the bill amount. Otherwise don't give any discount just add 12.5% GST. 3 MARKS Your answer Submit
  • 3 answers

Tec Om 4 years, 1 month ago

i hope this will help you keep my friend

Tec Om 4 years, 1 month ago

a=float(input("enter the cost:"))
if a>500:
b=a/10
c=12.5/100*a
d=a-b+c
print(d)
else:
c=12.5/100*a
print(a+c)

Tec Om 4 years, 1 month ago

a=float(input("enter the cost:")) if a>500: b=a/10 c=12.5/100*a d=a-b+c print(d) else: c=12.5/100*a print(a+c)
http://mycbseguide.com/examin8/

Related Questions

myCBSEguide App

myCBSEguide

Trusted by 1 Crore+ Students

Test Generator

Test Generator

Create papers online. It's FREE.

CUET Mock Tests

CUET Mock Tests

75,000+ questions to practice only on myCBSEguide app

Download myCBSEguide App