Computer Science, asked by bidishachakraborty42, 7 months ago

write an program to assign cost of 1 apple and find the cost of 20 apples(in computer)​

Answers

Answered by gaganadithyareddy9
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