Question: in - class exercise will test your practical understanding of the following.Proper NamingVariablesOperatorsType conversion CastingInstructions: 1 . Ask the user to enter four numbers, three

in-class exercise will test your practical understanding of the following.Proper NamingVariablesOperatorsType conversion CastingInstructions:1. Ask the user to enter four numbers, three digits each!2. Save each number as four separate string variables.3. Convert all string inputs into double variables.4. Add the first three numbers and store the result in an integer variable called"first Three."5. Add all numbers and store the result in an integer variable called "totalSum"6. Multiply the last two numbers and store the result in an integer variable called"lastTwo".7. Add the variables "totalSum" and "lastTwo", saving the result as an integer variable.8. Subtract the fourth number from the "lastTwo" Variable.

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!