Question: Part 1 The following 3 debugging assignments begins with some comments (lines that begin with 2 slashes) that describes the program. Examine the pseudocode that

 Part 1 The following 3 debugging assignments begins with some comments
(lines that begin with 2 slashes) that describes the program. Examine the
pseudocode that follows the introductory comments. Discover the syntax and logic errors

Part 1 The following 3 debugging assignments begins with some comments (lines that begin with 2 slashes) that describes the program. Examine the pseudocode that follows the introductory comments. Discover the syntax and logic errors and fix the pseudocode in the area labeled, Correct the pseudocode below. Pseudocode Debugging Exercise 1 // This pseudocode segment is intended to compute and display // the average grade of three quizzes start Declarations num quiz1 num quiz3 num quiz3 num average output "Enter score for quiz 1" input quiz1 output "Enter score for quiz 2" input quiz2 output "Enter score for quiz 3 input quiz3 average = quiz1 + quiz2 + quiz3/3 output "Average is ", answer end Pseudocode Debugging Exercise 2 // This pseudocode segment is intended to compute and display // the cost of home ownership for any number of users // The program ends when a user enters 0 for the mortgage payment start Dedarations num mortgagePayment num utilities num taxes num maintenance num total startup while mortgagePayment not equal to 0 Mainloop0 endwhile finishUp stop startUpl) output "Enter your mortgage payment or 0 to quit" Input mtgPayment return mainloop) output "Enter utilities" Input utilities output "Enter taxes input taxes outout "Enter amount for maintenance Oro stop startUp) output "Enter your mortgage payment or O to quit" input mtePayment return mainLoop() output "Enter utilities" input utilities output "Enter taxes" input taxes output "Enter amount for maintenance" input maintenance total = mortgagePayment + utilities + taxes + maintenance output "Total is", total return finishup) output "End of program" return

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!