Question: Question 2 : The following program outline is for a program that prompts the user for two integers and displays the result of the first
Question :
The following program outline is for a program that prompts the user for two integers and displays the result of the first integer divided by the second. Insert your own code in place of each comment to perform the task described by that comment.
put here standard header comments that give information about the program
put here the compiler directive for the library necessary for reading and writing
using namespace std;
int main
declare two variables of type int
declare one variable of type double
display a message asking the user to enter a first integer
get a value from the user
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
