Computer Science, asked by riyasaila8, 8 months ago

amount
Store the previous reading, present reading, name of the consumer
Member functions:
void input ()
void cal (
Calculate the amount and total amount to be paid
void display () Displays the name of the consumer, calls made, amount, total
to be paid
Write a program to compute the monthly bill to be paid according to the given
conditions and display the output as per given format.
Calls made
Rate
Up to 100 calls
No charge
For the next 100 calls 90 paise per calls
For the next 200 calls 80 paise per calls
More than 400 calls 70 paise per calls​

Attachments:

Answers

Answered by mohmmedshakeel27
0

Explanation:

amount

Store the previous reading, present reading, name of the consumer

Member functions:

void input ()

void cal (

Calculate the amount and total amount to be paid

void display () Displays the name of the consumer, calls made, amount, total

to be paid

Write a program to compute the monthly bill to be paid according to the given

conditions and display the output as per given format.

Calls made

Rate

Up to 100 calls

No charge

For the next 100 calls 90 paise per calls

For the next 200 calls 80 paise per calls

More than 400 calls 70 paise per calls

Similar questions