Friday
October 24, 2014

Homework Help: Part 1

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

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

Answer this Question

First Name:
School Subject:
Answer:

Related Questions

Part 1 - Consider the following selection statement where X is an integer test ...
programming - Consider the following selection statement where X is an integer ...
7 th grade math - What is the rule for this function? input 1 output 3 input 2 ...
Algebra - I have an input / output machine I need a rule I can use for any value...
Math - Hey, I need your help! I have an input output table that I need the ...
math - i need help with patterns and equations i cant find the rule it goes like...
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 ...
math - i need help! my last math question cant figure out! whats the rule for ...
Algorithm - Algorithm Verification Consider the following selection statement ...

Search
Members