Question: Use Visual Studio to create a new C# console application which does the following 1. Ask the user to enter six numbers two digits each.

Use Visual Studio to create a new C# console application which does the following 1. Ask the user to enter six numbers two digits each. 2. Save each number as six separate string variable. 3. Convert all string inputs into double variables. 4. Add the first three numbers and store the result in an integer variable called firstThree. 5. Add the last four numbers and store the result in an integer variable called lastFour. 6. Multiply the variable firstThree by lastFour, saving the result as an integer variable. 7. Subtract the sixth number from the FirstThree Variable. 8. Output the final result to the console. 9. Make sure the user understands what they are receiving.

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!