Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the quiz-maker domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/u797631661/domains/codermantra.com/public_html/wp-includes/functions.php on line 6121
Practice Questions – Page 11 – CoderMantra

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 »