Part 1

posted by .

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 "you did OK"
else if (70 <= X and X < 85)
output "you did well"
else if (85 <= X and X < 100)
output "you did great"
endif
output "how did you do?"

• Math, not "Part 1 " -

Math assistance needed.

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

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 <= …
4. Algorithm

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" …
5. 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 …
6. programming

I am in IT/210 and am having problems with the entire class. But what I am stuck on is as follows: Consider the following statement where X is an integer test score between 0 and 100. input X if (<0=X and X<49) output = "you …
7. Fundamentals of algorithm and logic

3. Exercise: Peer Reviews of Currency Conversion Test Procedure • Perform peer reviews of two classmates’ Currency Conversion Test Procedures, which your instructor will place in your Individual forum on Day 1. •Complete the …
8. 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
9. programming

Consider the following input and output: INPUT: (((5 + 1) – (7 – 4)) / (11 – 8)) OUTPUT: 5 1 + 7 4 – – 11 8 - / 2.1. What variables do you need to consider for the input?
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