ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 103 Weeks Ago, 3 Days Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 12 May 2017 My Price 9.00

Maximum exam score, user's exam score, and percentage

  1. Declare the following float variables :
    • Maximum exam score, user's exam score, and percentage.
  2. Ask the user to input data into your variables, such as:
    • "What is the max score of your exam: "
    • "What was your score: "
  3. Use if statements to validate user inputs. For example, score received should not be more than maximum possible score.
    • Display an error message when the user enters invalid data.
    • You can restart the program if user enters invalid input by pressing the RESET button on the processor board.
  4. Build your Software logic to calculate the percentage and the letter grade.
    • Hint: Store your letter grade to a char variable.
    • Hint: Useifandelse ifstatements. Scan from A to D leaving F toelsestatement.
  5. Print out summary for the user :
    • If the user's grade is either B, C, or D, print-out how many percent points the user is away from the next letter grade.Hint: (Score % 10) will tell you the remainder. If grade is B, C or D, calculate the remainder and subtract from 10.
    • Example print-out:"You scored a B, and you were 3 percent away from next letter grade."

Answers

(11)
Status NEW Posted 12 May 2017 07:05 AM My Price 9.00

-----------

Not Rated(0)