An Electricity Board charges for electricity per month from their consumers according
to the units consumed. The tariff is given below:
Upto 200 units rupees 3.80/unit
More than 200 units and upto 300 units rupes4.40/unit
More than 300 units and upto 400 units rupees5.10/unit
More than 400 units rupees5.80/unit
Write a program to calculate the electricity bill taking consumer’s name and units
consumed as inputs (using Scanner class). Display the output.
Answers
Answered by
1
Explanation:
The equivalent resistance of series and parallel connections of two resistances are given by the formula:
(a) R1 = r1 + r2 (Series)
(b) R2 = (r1 * r2) / (r1 + r2) (Parallel)
Using a switch case statement, write a program to enter the value of r1 and r2. Calculate and display the equivalent resistances accordingly.
Answered by
1
Explanation:
hey mate here is your answer
Attachments:
Similar questions
Computer Science,
1 month ago
Science,
1 month ago
Biology,
1 month ago
World Languages,
2 months ago
Geography,
2 months ago
Political Science,
9 months ago
Geography,
9 months ago