write an program to assign cost of 1 apple and find the cost of 20 apples(in computer)
Answers
Answered by
0
Answer:
Hey! This works only in python
x = int(input("Enter cost of one apple: ")) #Take cost of one apple
# Calculate the chat of 20 apples
print("Cost of 20 apples = ", x*20)
Hope this helps you!!
Similar questions
Math,
4 months ago
Social Sciences,
4 months ago
CBSE BOARD X,
4 months ago
Math,
9 months ago
Science,
9 months ago
Math,
1 year ago
Math,
1 year ago