Write a program to calculate the telephone bill as per following:
3
Calls Charges
First 200 calls 0
Next 300 calls 1 re/call
Above 300 calles 2 rs./call
Rent=250
Eg: for 250 calls ,
Bill = 250(Rental)+0*200 (free upto 200) +50*1( above 200 1 re on 50 calls) =
Total 300 Rs
Answers
Answered by
1
Answer:
Program to calculate the telephone bill based on the following conditions :
( 0-200) first 200 calls are free.
(200-500) Calls between 200 to 500 will be charged 1 /Call.
( 500+) In this case first 200 call free (200-500) 1re/call and (500+) will be 2/call.
200 is rental in the final bill.
Similar questions