Question: Script#2 Create a script to input 2 numbers from the user. The script will then ask the user to perform a numerical calculation of addition,

 Script#2 Create a script to input 2 numbers from the user.

Script#2 Create a script to input 2 numbers from the user. The script will then ask the user to perform a numerical calculation of addition, subtraction, multiplication, or division. Once the calculation is performed, the script will end. Note: Use the "case" or the "if/then/elseif" control structure to resolve this problem. Allow the user to input either the name of the calculation or the symbol. Also make sure you perform a check if the user types in the incorrect value. Do not use printf statement or any other statement we have not used so far in class. Add comments where necessary

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!