❔ Creating a list to loop through school grades & points

I'm trying to create a list to save my grades & points and loop through them to be able to account the total of how many grades & points https://paste.mod.gg/odhmkwztercf/0
BlazeBin - odhmkwztercf
A tool for sharing your source code with the world!
9 Replies
ero
ero2y ago
okay? and what're you struggling with?
The king of kings
Write a method ReadPoint to read the student's grades in the various subjects.
You should save the points in an array, vector or list.
When the method is called, the user must enter a number of grade points.
The grade points to be entered are controlled by the contents of the subject field.
Write a method that will convert the points into grades according to the scale A-F.
The grade A corresponds to 100 points.
The grade F corresponds to less than 50 points
You must store the grades in a field (array, vector or list).
Write a method printPrintGrades that prints the grades.
Write a method Statistics that will calculate the number of "A", "C" and "F" grades and the total number of grade points.
When the Statistics method is called, the grade statistics must be printed.
Write a method ReadPoint to read the student's grades in the various subjects.
You should save the points in an array, vector or list.
When the method is called, the user must enter a number of grade points.
The grade points to be entered are controlled by the contents of the subject field.
Write a method that will convert the points into grades according to the scale A-F.
The grade A corresponds to 100 points.
The grade F corresponds to less than 50 points
You must store the grades in a field (array, vector or list).
Write a method printPrintGrades that prints the grades.
Write a method Statistics that will calculate the number of "A", "C" and "F" grades and the total number of grade points.
When the Statistics method is called, the grade statistics must be printed.
This is my assignment I'm trying to create a list and save the points and the grades from user inputs and the final step is to account for how many points & grades the student has totally
ero
ero2y ago
yes. what are you struggling with.
The king of kings
I'm struggling to save points & grades in the list grades that I created an account how many points and grades are the total. This applies only to the followed grades A, C, and F Since I'm a beginner and my course only sends me projects to build, and I'm bad at writing logic and solving probelms. Are you there? I hope I didn't surprise you with too many details 🤗
hiyosilver
hiyosilver2y ago
@Faraj I could give it a look if you like. We generally like people to ask specific, concrete question about a thing that isn't working, rather than a general "this doesn't work please fix" (not saying this is what you did). The burden should be on you to break it down as far as you can and not make others do the work. Again, not claiming this was your intention, just explaining the other posters terse response 😉 Is what you posted in that link everything you have right now?
JimmahDean
JimmahDean2y ago
you didn't give enough details. you haven't mentioned what's wrong with your output compared to your expected output. though the assignment also fails to specify a few things which is amusing
The king of kings
Sorry guys for being away. I understand your point.
hiyosilver
hiyosilver2y ago
I have a few points about your code I could mention but I would rather not do the work for you until your current issues are a little clearer 🙂 Unless you've dipped again, in which case: godspeed! 😄
The king of kings
I apologize to you guys for not being active for a while. I had to be a bit busy.
Want results from more Discord servers?
Add your server