Computer Science, asked by myliferadhi, 1 month ago

Ananya purchased 5 pencils and 2 erasers at the cost of Rs 7 and Rs 5 respectively. Write the program to calculate & display the total amount paid by ananya​

Answers

Answered by Sharu888
7

Explanation:

NUMBER OF PENCIL : 5

COST OF PENCIL : 7

NUMBER OF ERASER : 2

COST OF ERASER : 5

TOTAL AMOUNT = 5*7 + 2*5

=35 + 10

= 45

Similar questions