Question: and how to download the code::block ? Write a program that performs simple math on two integer values entered by the user. The program should:
Write a program that performs simple math on two integer values entered by the user. The program should: declare variables for the two numbers and the answer, using appropriate labels prompt the user to enter 2 values compute the sum & output the answer compute the difference & output the answer compute the product & output the answer SAMPLE RUN: This program will do some basic math on numbers you input. Enter two integers, separated by a space. Press Enter after typing in the second integer. 158 5 + 8 = 13 5 - 8 - - 3 5* 8 = 40 Process returned @ (exe) Press any key to continue. execution time : 6.340 s
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
