Computer Science, asked by PhanthomC, 3 months ago

give me a java programming for this specific question :


The telephone department wishes to compute monthly telephone bills for its customers using the following slabs/rules on the basis of calls made:
Number of calls Rate

1)First 80 Calls Rs. 2.50
per call
2)Next 80 Calls 60 Paisa
per call
3)Next 160 Calls 50 Paisa
per call
4)Any Call above 40 Paisa
280 Calls per call

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



Answers

Answered by atrs7391
2

Answer:

Here is your program, and output is attached too.

If you have any problem you can ask me in the comments below, hope this helps!

Attachments:
Similar questions