Computer Science, asked by antrashukla26, 2 months ago

Write a program to compute monthly telephone charges for subscriber. Use the following
information:
Free calls for first 100 : rs 120
Charge/call beyond free limits upto 100 calls: Rs.1/call
Charge per call in excess of 200 calls: Rs. 1.25/call

fast pls

Answers

Answered by iharshupandey
0

Explanation:

class ques1

{

public static void main(String args[])

{

int a = 2,b = 3,c = 4;

double r;

double x = 6.5*Math.pow((a+b),2);

double y = 7.3*Math.sqrt(b+c);

double z = Math.sqrt(a+c);

r = (x-y)/z;

System.out.println ("The answer is : "+r);

}

}

Similar questions