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, 22.06.2019 21:30
Im doing this last minute and literally none of my neighbors or people that my dad works with use excel so if anyone could me make up an example
Answers: 1
question
Computers and Technology, 23.06.2019 14:00
Need ! will choose brainliest! discuss the role of abstraction in the history of computer software.
Answers: 1
question
Computers and Technology, 23.06.2019 16:30
If i wanted to include a built-in calendar in a document, what option could i select? draw table insert table insert chart quick tables
Answers: 1
question
Computers and Technology, 24.06.2019 14:30
Two students are discussing electricity that has a frequency of 60 hz. student a says that this type of electricity is referred to as ac. student b says that in this type of electricity, the electrons flow in only one direction. which of the following statements is correct? a. only student a is correct b. only student b is correct c. both of the two students are correct d. neither of the two students is correct
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
Health, 11.02.2021 07:50
question
Mathematics, 11.02.2021 07:50
question
Mathematics, 11.02.2021 07:50
Questions on the website: 13722361