Question: Find the Bugs 1 . Each code segment below starts with some comments ( lines that begin with two slashes ) that describe the program.

Find the Bugs
1. Each code segment below starts with some comments (lines that begin with two slashes) that
describe the program. Examine the pseudocode that follows the introductory comments, then
find and correct all the bugs as specified in the homework assignment instructions file.
a.// This pseudocode is intended to determine whether students have
// passed or failed a course; student needs to average 60 or
// more on two tests to pass. Dont forget to use priming read
// prior to while loop.
start
// Declarations
num firstTest
num secondTest
string average
num PASSING =40
while firstTest not equal to 0
output "Enter first score or 0 to quit "
input firstTest

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!