Question: s include 6 using nanespace std; s int main 10 int num num2 5 I/ numl is not instialized // num2 has been initialized to

 s "include 6 using nanespace std; s int main 10 int

s "include 6 using nanespace std; s int main 10 int num num2 5 I/ numl is not instialized // num2 has been initialized to s 3cout cc "Please enter an integer 3s endl: 14 cin >> num 15 19 if (numi num2) cout cc Hey, that's a coincidence end; 21 If (numi !-num2 ) cout se The values are hot the sane3 end return e 26 ) (l points) Exercise 2 & 3: Modify initialize app so that the user inputs both values to be tested (must have a prompt for each input). If the numbers are the same, print the lines shown in Exercise 3 of the lab manual. Test your modified program with pairs of same and different numerical values. Take a screen shot or attach the printout of the modifisd initialize.app below xercise 4: Replace the two if statements with a single if/else statement. Make sure you are (1 points) getting the same results as in exercise 2 and 3. Take a screen shot or attach the printout of the modified initialize. app

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!