Question: Your task is to fix the code given to you in the Task 1 archive. The code attempts to calculate a COS 1 3 2

Your task is to fix the code given to you in the Task 1 archive. The code attempts to calculate a COS132 student's progress mark so far, however there are various syntax and semantic errors. Fix these by following the instructions below.
You are given this Task1.cpp file, it contains your main loop:3double totalQuizWeight =20; int numQuizzes =10;double pracWeight = calculateIndividualWeight (totalPracWeight, numPracs): double quizWeight = calculateIndividualWeight (totalQuizWeight, numQuizzes);double pracSubTotalVal = pracSubTotal (pracWeight, p1M, p1T, p2M, p2T,3M,3T);double quizSubTotalVal = quizSubTotal (quizWeight, q1M, q1T, q2M, q2T, q3M, q3T, q4M, q4T);double subTotalVal = subTotal (4, quizWeight, 3, pracWeight);double actualtotal = pracSubTotalVal +quizSubTotalValcout
Your task is to fix the code given to you in the

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 Programming Questions!