Im completely new to this website and quite new to programming,
Currently im doing Programming at college,
Due to some unforeseen circumstances i had to miss a few weeks at college,
Could someone please help me with a problem? I have been trying to figure it out on my own, but i missed some essential classes so i am quite lost,
I have been asked to create a code, Which is find the average of grades input for quizzes (This part is easy enough),
But what im stuck on is, The number of quizzes is a variable, there could be 3 quizzes or even 8 quizzes etc (Im sure you get my point).
What i am not sure, Is how to create a loop, that will allow me to input the grades according to what ever number the user inputs for the number of quizzes?
Enter number of quizzes: (User enters any number (6))
Quiz Grade 1:
Quiz Grade 6:
How do i make a for loop or if switch command for this?
Any help is greatly appreciated!