Checkout
checkout
view
Your Cart Your Cart: item(s)
Subjects -> Computer Science -> Other -> Posting #55377
Add to Shopping Cart
$2.19 Instant Download
Computer Science, Other
Year 2

Variables, prompts, and output.


START
Declare TestScore as interger
Write "Enter your Test Score and Your Grade will be Displayed"
INPUT Test Scoore
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

Questions
1. List variables: Declare TestScore as an interger
2. List prompts: INPUT Test Score
3. Show what PC monitor will display when values 86, 55, and 100 are used.
"Your Grade is an B" - for 86
"Your Grade is an F"-for 55
"Your Grade is an A"-100
4. Write a new program in pseudocode, it should input and calculate the average of 5 test scores, then numbers entered.
Declare NUM1, NUM2, NUM3, NUM4, and NUM5
Declare average as real
Write "5 positive numbers"
Input NUM1, NUM2, NUM3, NUM4, NUM5
Average="The Average of 5 Numbers entered is", Average
Stop

By OTA:  Abdun Mahmood, PhD

OTA Rating:  4.9/5

Your Price:  $2.19  (original value ~$11.97)

What's included:

  • Plain text response
$2.19 Download Add to Cart

Add to Shopping Cart
$2.19 Instant Download

Page generated in 0.013 seconds

About Us ·  Contact Us ·  Samples ·  Solutions ·  Legal Terms and Conditions ·  Privacy Policy

©2008 SolutionLibrary.com

Search for Solutions About Us Samples