4. Create a C program to determine the status and grade of Computer Programming subject based on midterm examination and final examination. The midterm examination contributes 30% and final...


4. Create a C program to determine the status and grade of Computer Programming subject based on<br>midterm examination and final examination. The midterm examination contributes 30% and final<br>examination contributes 70% of final marks. The program should read input of both examination<br>marks (full marks is 100 for both examination), calculates and display the final marks. Finally, the<br>program will display the status and grade as shown in Table 4.1 based on calculated final marks.<br>Table 4.1: Marks and Grade<br>Final Marks<br>Status<br>Grade<br>80-100<br>А<br>70-79<br>B<br>Pass<br>60-69<br>C<br>40-59<br>D<br>20-39<br>E<br>Fail<br>0-19<br>F<br>Hint: Use nested if structure in your program.<br>The sample output should be as follows:<br>Please enter midterm examination marks: 82<br>Please enter final examination marks<br>: 75<br>: 77.10<br>: Pass<br>Final marks<br>Status<br>Grade<br>: B<br>

Extracted text: 4. Create a C program to determine the status and grade of Computer Programming subject based on midterm examination and final examination. The midterm examination contributes 30% and final examination contributes 70% of final marks. The program should read input of both examination marks (full marks is 100 for both examination), calculates and display the final marks. Finally, the program will display the status and grade as shown in Table 4.1 based on calculated final marks. Table 4.1: Marks and Grade Final Marks Status Grade 80-100 А 70-79 B Pass 60-69 C 40-59 D 20-39 E Fail 0-19 F Hint: Use nested if structure in your program. The sample output should be as follows: Please enter midterm examination marks: 82 Please enter final examination marks : 75 : 77.10 : Pass Final marks Status Grade : B

Jun 07, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here