Posted by **Anonymous** on Wednesday, June 11, 2008 at 4:57pm.

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

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?"

- Math, not "Part 1 " -
**Writeacher**, Wednesday, June 11, 2008 at 5:07pm
Math assistance needed.

## Answer this Question

## Related Questions

- programming - Consider the following selection statement where X is an integer ...
- Algorithm - Algorithm Verification Consider the following selection statement ...
- Help Help - Consider the following selection statement where X is an integer ...
- programming - Can You Please help me understand how to do this and what i have ...
- programming - I am in IT/210 and am having problems with the entire class. But ...
- Part 1 - input X if (0 <= X and X < 49) output "you fail" else if (50 <...
- Fundamentals of algorithm and logic - 3. Exercise: Peer Reviews of Currency ...
- Algebra - I have an input / output machine I need a rule I can use for any value...
- programming - Consider the following input and output: INPUT: (((5 + 1) – (7 – 4...
- IT/210 - Generate a set of test inputs and expected results for the Currency ...