Share
Explore BrainMass

Variables, prompts, pseudocode, and flowcharts

Start
Declare Testscore as integer
Write "Enter your Test Score and Your Grade will be displayed"
INPUT Test score
IF TestScore > 90
Write "Your Grade is an A"
Else If TestScore > 80
Write "Your Grade is an B"
Else If Testscore > 70
Write "Your Grade is an C"
Else If TestScore > 60
Write "Your Grade is an D"
Else
Write "Your Grade is an F"
End if

1. List the variables in the program.
2. List the prompts in the program.
3. Show what the PC monitor will display when this program is executed with the following values used: 86, 55, and 100.
4. Write a new program in pseudocode, your problem should input-and calculate the average of five test scores, then numbers entered.
5. Give a flowchart for the original version of this program.
6. IS their is way to email more of these problems to you.

Solution Preview

1. List the variables in the program.
The only variable there is: Testscore

2. List the prompts in the program.
The only prompt there is: INPUT Test score

3. Show what the PC monitor will display when this program is executed with the following values used: 86, 55, and 100.

Input Value 86: Your Grade is an B
Input Value 55: Your Grade is an F
Input Value ...

Solution Summary

This job examines variables, prompts, pseudocode, and flowcharts.

$2.19