Shyamsah123456 Shyamsah123456
  • 13-02-2021
  • Computers and Technology
contestada

The cost of an items is Rs 200. what will be the cost of 50 such items. write a simple program​

Respuesta :

MrRoyal
MrRoyal MrRoyal
  • 18-02-2021

Answer:

In Python:

Unit_Cost = 200

Cost50 = 50 * Unit_Cost

print("Cost of 50 items: Rs."+str(Cost50))

Explanation:

This initializes the unit cost to 200

Unit_Cost = 200

This calculates the cost of 50 of such items

Cost50 = 50 * Unit_Cost

This prints the calculated cost

print("Cost of 50 items: Rs."+str(Cost50))

Answer Link

Otras preguntas

Cal made 18/4 gallons of orange juice.what is 18/4 expressed as a mixed number?
What is filled with enzymes that can break down substances in cells to be used later?
What carol contains the line, "Star with royal beauty bright"?
the area of a rectangular mirror is 11 11/16 square feet. The width of te mirror is 2 3/4 feet. if there is a 5 foot tall space on the wall to hang the mirror,
osmosis occurs through water channel proteins called... ?
Ten birds were sitting in a tree and a hunter shot one. How birds many were left in the tree? I will say the answer If you people Give up :D
What is the answer 8d-10 for d= 4
Why did the articles of impeachment not stand up against President Johnson? A. The issues they addressed were much too vague. B. He resigned before they could t
Which one is greater 0.4 or 0.372 and why
Fifteen more than half a number is 9