Answered step by step
Verified Expert Solution
Question
1 Approved Answer
in - class exercise will test your practical understanding of the following.Proper NamingVariablesOperatorsType conversion CastingInstructions: 1 . Ask the user to enter four numbers, three
inclass exercise will test your practical understanding of the following.Proper NamingVariablesOperatorsType conversion CastingInstructions: Ask the user to enter four numbers, three digits each! Save each number as four separate string variables Convert all string inputs into double variables Add the first three numbers and store the result in an integer variable called"first Three." Add all numbers and store the result in an integer variable called "totalSum" Multiply the last two numbers and store the result in an integer variable called"lastTwo" Add the variables "totalSum" and "lastTwo", saving the result as an integer variable Subtract the fourth number from the "lastTwo" Variable.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started