Write a program for grade computation. The final grade should be computed using the formula: FinalGrade = 20% Recitation+35% Quizzes+40% Final Exam+5% Evaluation.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
100%
Pls create a basic C-program thank u
Write a program for grade computation. The final grade should be computed using the formula:
FinalGrade=20% Recitation+35% Quizzes + 40% FinalExam+ 5% Evaluation.
The number of student is a variable.
The inputs are student number, recitation grade, average of quizzes, final exam grade and teacher's
evaluation, and of course the number of students. The output should be tabulated as shown below if the
number of student is equivalent to 3:
WARNING: if the input grade is higher than 100 and lower than 0, it will print a message
to enter correct grade.
Sample Input
Enter number of students: 3
Enter Student Number: 101
Enter Recitation: 999
Enter Recitation: 100
Enter Quizzes: 100
Enter Final Exam: 100
Enter Evaluation: 1000
Enter Evaluation: 100
Enter Student Number: 102
Enter Recitation: 69
Enter Quizzes: 699
Enter Quizzes: 69
Enter Final Exam: 69
Enter Evaluation: 69
Enter Student Number: 103
Enter Recitation: 50
Transcribed Image Text:Write a program for grade computation. The final grade should be computed using the formula: FinalGrade=20% Recitation+35% Quizzes + 40% FinalExam+ 5% Evaluation. The number of student is a variable. The inputs are student number, recitation grade, average of quizzes, final exam grade and teacher's evaluation, and of course the number of students. The output should be tabulated as shown below if the number of student is equivalent to 3: WARNING: if the input grade is higher than 100 and lower than 0, it will print a message to enter correct grade. Sample Input Enter number of students: 3 Enter Student Number: 101 Enter Recitation: 999 Enter Recitation: 100 Enter Quizzes: 100 Enter Final Exam: 100 Enter Evaluation: 1000 Enter Evaluation: 100 Enter Student Number: 102 Enter Recitation: 69 Enter Quizzes: 699 Enter Quizzes: 69 Enter Final Exam: 69 Enter Evaluation: 69 Enter Student Number: 103 Enter Recitation: 50
Enter Quizzes: 50
Enter Final Exam: 50
Enter Evaluation: 50
Sample Output
Number
Recitation
Quizzes Final
Evaluation Final
Remarks
Letter
Exam
Grade
101
100
100
100
100
100
Passed
A+
102
69
69
69
69
69
Failed
F
103
50
50
50
50
50
Failed
F
The output should also include the number of failed students and their student number as shown:
Number of failed students:
2
List of failed students:
102
103
Letter Grades:
Average
96-100
92-95
88-91
83-87
78-82
74-77
70-73
Below 70
Grade
Letter
Equivalent Equivalent
A+
4.0
A-
B+
B-
C+
من
D
F
OPPNNW 20
ooino in bio
3.5
3.0
2.5
2.0
1.5
1.0
0.0
Transcribed Image Text:Enter Quizzes: 50 Enter Final Exam: 50 Enter Evaluation: 50 Sample Output Number Recitation Quizzes Final Evaluation Final Remarks Letter Exam Grade 101 100 100 100 100 100 Passed A+ 102 69 69 69 69 69 Failed F 103 50 50 50 50 50 Failed F The output should also include the number of failed students and their student number as shown: Number of failed students: 2 List of failed students: 102 103 Letter Grades: Average 96-100 92-95 88-91 83-87 78-82 74-77 70-73 Below 70 Grade Letter Equivalent Equivalent A+ 4.0 A- B+ B- C+ من D F OPPNNW 20 ooino in bio 3.5 3.0 2.5 2.0 1.5 1.0 0.0
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY