Computer Science, asked by Avikhya, 11 months ago

16. Write a program to compute BI-monthly telephone charges
for subscriber. Use the following information:
Fixed BI monthly rent : Rs 380 -
Free calls during two months : 120
Charge / call beyond free limits upto 100 calls : Rs.1

Charge per call in excess of 100 calls: Rs. 1.25​

Answers

Answered by mdrishti241
4

Explanation:

public class- BI

{

public static void main;

{

System.oit.println( monthly rent "+380");

system.out.println(calls during two months"+120");

-----------------------

}

}

Answered by 8420054486disha
7

Answer:

class Monthly Telephone

{

 public static void main(int calls)

 {

   double bill = 280.0;

   if(calls>120 && calls< = 220)

     bill = bill+(calls-120)*1;

   else if(calls>220)

     bill = bill+100+(calls-220)*1.25;

   System.out.println ("BILL AMOUNT : "+bill);

 }

}

Explanation:

Similar questions