A program which computes the area of various geometrical shapes using a menu-driven approach.

Here, we have a basic program example to calculate area of different shapes driven by a menu approach using different languages. This program is created in c language, c++, Java, and Python. Program to calculate are of different shapes in C language Program to calculate are of different shapes in C++ language Program to calculate…

Read More »

Program to calculate and print the electricity bill of a given customer. The customer ID, name, and unit consumed by the user should be captured from the keyboard to display the total amount to be paid to the customer.

Here, we have a basic program example to calculate the electricity bill using different languages. The charge are as follow : Unit  Charge/unit upto 199   @1.20 200 and above but less than 400  @1.50 400 and above but less than 600  @1.80 600 and above    @2.00 If bill exceeds Rs. 400 then a surcharge of…

Read More »