Computer Science, asked by karmveersingh4007, 14 days ago

The telephone department wishes to compute monthly telephone bills for its customers using the following rules on the basis of calls made. [15] Number of calls Rate First 80 calls Rs. 250/- Next 80 calls Rs. 0.60 /call Next 160 calls Rs. 0.50 /call Any call above 280 calls Rs. 0.40 /call Write a program to input number of calls and compute total bill amount​

Answers

Answered by pratikborate272
1

Explanation:

Number of calls Rate

First 80 calls Rs. 2.50 per call

Next 80 calls 60 paisa/call

Next 160 calls 50 paisa/call

Any call above 280 calls 40 paisa/call

Write a program to input no. of calls and compute total bill amount print the output including the no. of calls consumed, and the bill amount to be paid.

Similar questions