Computer Science, asked by CALVIN007, 2 months ago

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 joya643
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 manjularavi1014
1

Explanation:

hey mate here is your answer

Attachments:
Similar questions