it210_appendix_j - output "you did OK" else if...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Axia College Material Appendix J Algorithm Verification Consider the following selection statement where X is an integer test score between 0 and 100. input X if (0 <= X and X < 49) output "you fail" else if (50 <= X and X < 70) output "your grade is" X
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: output "you did OK" else if (70 <= X and X < 85) output "your grade is" X output "you did well" else if (85 <= X and X < 100) output "your grade is" X output "you did great" endif output "how did you do?" IT 210...
View Full Document

This note was uploaded on 12/05/2010 for the course IT 210 IT 210 taught by Professor Schaffer during the Spring '10 term at University of Phoenix.

Ask a homework question - tutors are online