Question: Place these two lines in the code below. output Enter first score or 0 to quit input firstTest / / This pseudocode is intended
Place these two lines in the code below.
output "Enter first score or to quit
input firstTest
This pseudocode is intended to determine whether students have
passed or failed a course; student needs to average or more on two tests. start Declarations num firstTest num secondTest num average num PASSING while firstTest not equal to output "Enter first score or to quit input firstTest output "Enter second score" input secondTest average firstTest secondTest ouput "Average is average if average PASSING then output "Pass" else output "Fail" endif endwhile stop
Select one:
a
The lines are needed before the while statement and before the endwhile statement.
b
No changes are necessary.
c
The lines are needed only after the while statement.
d
The lines are needed only before the while statement.
e
The lines are needed only before the endwhile statement.
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
