C++ Error Debugging Final Sample Question

Question 1
You are given Program 1 (Debug1(Quest)) with 22 syntax and/ or logical errors. Debug the errors, then compile and run the program. The program should produce the output as in Figure 1

Output

Question 2 
You are given Program 2 (Debug2(Quest)) with 23 syntax and/ or logical errors. Debug the errors, then compile and run the program. The program should produce the output as in Figure 2.
Output

Post a Comment

0 Comments