Question: Programming C plz help Determine the weighted average values of two students A and B in Intro to Computing coursework. Quizzes, midterms, exams, and projects

Programming C plz help

Programming C plz help Determine the weighted average values of two students

Determine the weighted average values of two students A and B in Intro to Computing coursework. Quizzes, midterms, exams, and projects play a critical role. Assume the weights for quizzes, midterm, exams, and projects are 0.15, 0.2, 0.3, and 0.35 respectively. Prompt the user to enter the grades of students, A and B, in quizzes, midterm, exams, and projects (Range between 1-100). Multiply the grade that student A obtained in each category by the weight of that category, and then add all the resulting numbers up. The final result will give you the weighted average of that student. Repeat the same procedure for student The calculation is illustrated below. The grade obtained by a student in quiz multiplied by the weight of the quiz (0.15) = a, The grade obtained by a student in midterm multiplied by the weight of the midterm (0.2) = b, The grade obtained by a student in exams multiplied by the weight of the exam (0.3) = = C, The grade obtained by a student in project multiplied by the weight of the project (0.35) = d, Weighted Average = a + b +c+d Format all output in columns. Align columns (L) using width in the printf function. DO NOT USE THE TAB. Note your calculation may have a round-off error. Example of the output: Weighted Avg Student B Quiz 84 76 Midterm 98 56 Exams 67 80 Projects 78 64 XXXXX XXXXX

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!