Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Microsoft Visual Basic 2017 For Windows Web And Database Applications

Authors: Corinne Hoisington

1st Edition

1337102113, 978-1337102117

More Books

Students also viewed these Databases questions

Question

Explain the various methods of job evaluation

Answered: 1 week ago

Question

Differentiate Personnel Management and Human Resource Management

Answered: 1 week ago

Question

Describe the functions of Human resource management

Answered: 1 week ago

Question

What is the difference between Needs and GAP Analyses?

Answered: 1 week ago

Question

What are ERP suites? Are HCMSs part of ERPs?

Answered: 1 week ago