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 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. 👍 0
  2. 👎 0
  3. 👁 143
  1. Math assistance needed.

    1. 👍 0
    2. 👎 0

Respond to this Question

First Name

Your Response

Similar Questions

  1. Algorithm

    Algorithm Verification Consider the following selection statement where X is an integer test score between 0 and 100. input X if (0

    asked by Anonymous on June 11, 2008
  2. programming

    Consider the following selection statement where X is an integer test score between 0 and 100. input X if (0

    asked by steve on October 23, 2009
  3. 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

    asked by Anonymous on June 11, 2008
  4. Help Help

    Consider the following selection statement where X is an integer test score between 0 and 100. input X if (0

    asked by Anonymous on June 11, 2008
  5. Algebra

    Tom took five math tests and got an integer score on each of them. He never scored higher than 90, and his lowest score was the fourth test. If his average score, rounded to the nearest integer, was 82, what is the lowest possible

    asked by Mr. Alexander on July 18, 2015
  6. Algebra

    Tom took five math tests and got an integer score on each of them. He never scored higher than 90, and his lowest score was the fourth test. If his average score, rounded to the nearest integer, was 82, what is the lowest possible

    asked by XXX on June 25, 2015
  7. statistics

    1. Suppose you administered an anxiety test to a large sample of people and obtained normally distributed scores with a mean of 45 and a standard deviation of 4. Do not use the web calculator to answer the following questions.

    asked by Anonymous on February 6, 2016
  8. algebra

    i need help: A national achievement test is administered annually to 9th graders. The test has a mean score of 100 and a standard deviation of 15. If John’s z-score is 1.20, what was his score on the test?

    asked by mufasa on November 19, 2013
  9. statistics

    5. Each year, a national achievement test is administered to 3rd graders. The test has a mean score of 100 and a standard deviation of 15. If Jane's z-score is 1.20, what was her score on the test?

    asked by xiomara on September 2, 2011
  10. statistics probability

    Alice earned a score of 940 on an IQ test.The mean test score was 850 with a standard deviation of 100.(Assume that test scores are normally distributed). Q1a).What proportion of students had a higher score than alice? Qb)Find the

    asked by koo on November 14, 2010

More Similar Questions