Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Set appropriate constants for new requirements ( see below ) . Check for limits by describing code modifications in detailLoop ( ) . No pseudocode
Set appropriate constants for new requirements see below Check for limits by
describing code modifications in detailLoop No pseudocode needs to be written for
this problem.
Find the Bugs
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 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
while firstTest not equal to
output "Enter first score or to quit
input firstTest
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started