Question: Write this by C# Create a console application which does the following: 1. Ask the user to enter six numbers, two digits each. 2. Save

Write this by C#

Write this by C# Create a console application which does the following:

Create a console application which does the following: 1. Ask the user to enter six numbers, two digits each. 2. Save each number into six separate double variables. 3. Add the first three numbers and store the result in an integer variable called "firstThree". 4. Add the last four numbers and store the result in an integer variable called "lastFour". 5. Multiply the variable "firstThree" by "lastFour", saving the result as an integer variable. 6. Subtract the sixth number from the "firstThree" variable, saving the result as an integer variable. 7. Output all variables that contain a result of calculations. 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!