Can someone help me write this program in c++?
Suppose a teacher weights the four exams he gives 10%, 25%, 30%, and 35%.
Write a program that reads ten sets of four grades, prints the weighted average of each set, and prints the unweighted average of each test. The number of students should be in a global constant.
I know I need to use a for loop, but I'm not sure how to write it. Can someone show me how to code this along with guiding me through the code?