What is the output of the following algorithm if AMOUNT is equal to $200?
If AMOUNT is greater than $500
print "That's too much."
Else if AMOUNT is greater than $200
print "Still too much"
Else if AMOUNT is greater than $100
print "That's about right"
Else
print "Amount is too low."
End if
A. That's too much
B. That's about right
C. Still too much
D. Amount is too low
Answer: B
Computer Science & Information Technology
You might also like to view...
A(n) ____ is a name that refers to a piece of the program's memory, in which a value can be stored, retrieved, and changed.
A. element B. class C. variable D. object
Computer Science & Information Technology
Files that are next to each other are known as ____ files.
a. contiguous b. continuous c. abutting d. sequential
Computer Science & Information Technology
When navigating a Slide Show, you can press [left arrow], [up arrow], or [P] to go to the ____.
A. next slide B. presentation view C. previous slide D. normal view
Computer Science & Information Technology
This measurement is the default text inset for a cell.
A. .25" B. .125" C. 0" D. .0556"
Computer Science & Information Technology