Question: Using C# and including comments. Create a Console application called Values and make sure that the project name is Values, and that your class name
Create a Console application called Values and make sure that the project name is Values, and that your class name is Values and that the program file name is Values.cs. Your program must reads two numbers as doubles as variables called them x and y, and then on separate lines with proper labels, print out their values, then increase the first number by the second and print out the outcome. Then do the same using the other math operations: subtraction, multiplication and division. Example: Enter the first double value? 5.5 Enter the second double value? 2.5 The value of x is 5.5 The value of y is 2.5 After adding y to x, x is now 8. 0 After subtracting y from x, x is now 5.5 After multiplying y to x, x is now 13.75 After dividing x by y, x is now 5.5
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
