Part 1

posted by Anonymous

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

  1. Writeacher

    Math assistance needed.

Respond to this Question

First Name

Your Answer

Similar Questions

  1. programming

    Can You Please help me understand how to do this and what i have to do to solve the problem.... Please!! Consider the following selection statement where X is an integer test score between 0 and 100. input X if (0 <= X and X < …
  2. Help Help

    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 …
  3. Part 1

    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 …
  4. programming

    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 …
  5. Math

    Hey, I need your help! I have an input output table that I need the function rule for. The table is like this: Input: 0 Output: 25 Input: 100 Output: 35 Input: 200 Output: 45 Input: 300 Output: 55 Input: 400 Output: 65 PLEASE I NEED …
  6. Algebra

    I have an input / output machine I need a rule I can use for any value, like 10 or 100 input 1, output 3 input 2, output 6 input 3, output 12 input 4m output 24
  7. math

    i need help with patterns and equations i cant find the rule it goes like dis input 0 out put 25 input 1 output 24 input 2 output 23 input 3 mising output input 4 missing output
  8. 7 th grade math

    What is the rule for this function? input 1 output 3 input 2 output 5 Input 4 output 9 Input 5 output 11 Input 10 output 21 Input 12 output 25 Please help now thanks
  9. Computer Science

    What is the rule for this function? input 1 output 2 input 2 output 5 Input 3 output 12 Input 4 output 34 Input 5 output 135 Input 6 output 741
  10. Math

    Input: 100 Output 10 Input: 30 Output 3 Input: 70 Output 7 Input: 40 Output 4 Input: 50 Output 5 What is the equation to show the relationship between the input and the output?

More Similar Questions