subject

In this lab you are to write a program that calculates a student's final grade and outputs the final letter grade to the console using functions. two tests scores and one homework score will be supplied by the user. to calculate the final score assume that the tests are each worth 40% and the homework is worth 20% of the total score. you should implement and use the following two functions: 1) calcfinalscore: this function is a value-returning function whose purpose is to compute the final score for a student. it takes three parameters: test1, test2, and hw (all doubles), and returns the final score as a double. 2) printfinalscore: this function is a non value-returning function that outputs a student's final score and letter grade to the console. it takes the parameter finalscore (a double). the breakdown of letter grades is as follows: 90 or above is an a, 80 to 90 is a b, 70 to 80 is a c, 60 to 70 is a d, and less than 60 is a big fat f.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 18:00
Which if the following allows you to view and access important information about your documents all in one location
Answers: 3
question
Computers and Technology, 23.06.2019 15:00
Visually impaired individuals generally rely on the for navigation. thus, designers need to ensure that mouse-specific inputs, such as pointing, clicking, and hovering, can be done without a mouse.
Answers: 1
question
Computers and Technology, 23.06.2019 21:20
In microsoft word, when you highlight existing text you want to replace, you're in              a.  advanced mode.    b.  automatic mode.    c.  basic mode.    d.  typeover mode
Answers: 1
question
Computers and Technology, 23.06.2019 22:20
Read “suburban homes construction project” at the end of chapters 8 and 9 (in the textbook) and then develop a wbs (work breakdown structure) in microsoft excel or in microsoft word (using tables)
Answers: 1
You know the right answer?
In this lab you are to write a program that calculates a student's final grade and outputs the final...
Questions
question
Physics, 12.02.2020 22:06
question
Mathematics, 12.02.2020 22:06
Questions on the website: 13722361