1. Write function printGrade in void function to compute and output the course grade. The course score is passed as a parameter to the function printGrade. (The program will take 5 inputs for 5...


1. Write function printGrade in void function to compute and output the course grade. The<br>course score is passed as a parameter to the function printGrade. (The program will take 5<br>inputs for 5 subjects. And show the grade of each subject. And calculate the CGPA)<br>TTTE<br>Percentage Score<br>Quality Point<br>Renark<br>Letter Grade<br>8e - 100<br>75 - 79<br>70- 74<br>65- 69<br>6e- 64<br>55- 59<br>se - 54<br>45 - 49<br>40 - 44<br>35 - 39<br>e. 34<br>Excellent<br>Extrenely Good<br>Very Good<br>Good<br>Fairly Good<br>Satisfactory<br>Quite Satisfactory<br>Poor<br>4.00<br>3.67<br>3.33<br>3.00<br>2.67<br>2.33<br>2.e0<br>1.67<br>1.33<br>Very Poor<br>Extremely Poor<br>Fail<br>1.00<br>Expected Output:<br>Inputs<br>1. Mark for the programming is:<br>2. Mark for the Math is:<br>80<br>85<br>3. Mark for the Database System is:<br>4. Mark for the Software Engineering is:<br>5. Mark for the Business Fundamental is:<br>74<br>76<br>65<br>Output<br>Letter Grade for Programming:<br>A<br>Letter Grade for Math:<br>A<br>Letter Grade for Database System:<br>Letter Grade for Software Engineering:<br>Letter Grade for Business Fundamental:<br>Remark:<br>B+<br>A-<br>в<br>Extremely Good<br>2. Rewrite the function printGrade as a value-returning function so that it computes and<br>returns the course grade. (The course grade must be output in the function main.)<br>Mark Chart<br>

Extracted text: 1. Write function printGrade in void function to compute and output the course grade. The course score is passed as a parameter to the function printGrade. (The program will take 5 inputs for 5 subjects. And show the grade of each subject. And calculate the CGPA) TTTE Percentage Score Quality Point Renark Letter Grade 8e - 100 75 - 79 70- 74 65- 69 6e- 64 55- 59 se - 54 45 - 49 40 - 44 35 - 39 e. 34 Excellent Extrenely Good Very Good Good Fairly Good Satisfactory Quite Satisfactory Poor 4.00 3.67 3.33 3.00 2.67 2.33 2.e0 1.67 1.33 Very Poor Extremely Poor Fail 1.00 Expected Output: Inputs 1. Mark for the programming is: 2. Mark for the Math is: 80 85 3. Mark for the Database System is: 4. Mark for the Software Engineering is: 5. Mark for the Business Fundamental is: 74 76 65 Output Letter Grade for Programming: A Letter Grade for Math: A Letter Grade for Database System: Letter Grade for Software Engineering: Letter Grade for Business Fundamental: Remark: B+ A- в Extremely Good 2. Rewrite the function printGrade as a value-returning function so that it computes and returns the course grade. (The course grade must be output in the function main.) Mark Chart

Jun 06, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here