How to make the program repeat a question over and over and calculate total when the user wants to quit

Hey guys. I just started learning c++ about a month ago and I came across a question that I have no idea how to solve. Need as much help as I can get.

This is the question:

Write a program which is used to calculate GPA based on the grades from different courses Input by the user. User should be able to enter as many course unless they choose to quit. Once the user has completed entering the data, the program should be able to provide a feedback on the GPA. Where A=4, B=3, C=2, D=1.
Thanks
Last edited on
How to begin to write the project
By laying out what input should you expect, how you will store it, how GPA will be calculated and then trying to implement all of it in code.
Topic archived. No new replies allowed.