Question: Create the Windows program shown below in a suitable folder. Name the Project Assign01-Arithmetic Do not create a separate directory for the solution. Save the
Create the Windows program shown below in a suitable folder. Name the Project Assign01-Arithmetic Do not create a separate directory for the solution. Save the final version to H:ICSIS123 to turn in late Prompt the user to input two integer values. Store them in two declared int variables within the program Reproduce the output from variable assignment for the six calculations on those input values as shown: sum + difference - absolute difference - subtraction along with abs() function product integer division/ modulus % (remainder of integer division] O c:\VCProjects\Arithmetic Ops\Debug ArithmeticOps.exe Arithmetic Operations on Tuo Integers Enter the first integer: 12 Enter the second integer: 5 17 + 5 = 22 17 - 5 - 12 17 - 5 - 12 Cabsolute difference> 17 * 5 = 85 125 - 3 17 % 5 -2 Press Enter> key to end... O c:\VCProjects\ArithmeticOps\Debug Arithmeticops.exe Arithmetic Operations on Tuo Integers Enter the first integer: 12 Enter the second integer: 15 12 - 15 - 27 12 - 15 - -3 12 - 15 - 3 (absolute difference) 12 - 15 - 180 12 - 15 - @ 12 x 15 - 12 Press Enter> key to end...- Calculate the absolute value for the second difference (subtraction calculation using the abs( ) function de the Math library header file using the directive #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
