Question: Write the program in C programming Create a simple scientific calculator program as follows 1 Display a menu of options according to table. 2- Askthe

Write the program in C programming  Write the program in C programming Create a simple scientific calculator

Create a simple scientific calculator program as follows 1 Display a menu of options according to table. 2- Askthe userto enter a menu option (upper and lower case will work. 3- If menu option is not valid, display msg "invalid option" and repeat parts 1 and 2. (use do-while) 4- For "add" option ask the userto enter two numbers, store as double and display sum. 5- osubtract option ask the userto enter two numbers, store as double and display difference 6- For multiply option, same as above Fordivide option, same as above(test the denominator, if zero, display an appropriate msg). 8- For remainder option, ask the user to enter two integers and displays remainder 9- For squared, ask the user to input a number and output the square of the number 10- For square root, check if the number is negative and output appropriate msg. 11 For factorial, ask for a number an output factorial( 5!-5*43"2'1). (use for loop) 12- For is even, display msg indicating if number is even 13- For greater integer, round the number to an integer greater than number. 14- For less integer, round the number to an integer less than number Every time a calculation ends, the menu is re-displayed. The program will only exit when the user enters X

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!