Average / GPA | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Average / GPA

Starting from the GUI template, you are to write a program that will calculate the average of 5 courses and determine GPA. The program will calculate the average from the input of 5 text boxes and output the average. Based on the average, the program will calculate and output letter grade. you are to make the program work with any number of grades entered. This will require an extra variable, as well as the not equals operator. In python

20th Mar 2024, 6:21 PM
Марк Дункву
Марк Дункву - avatar
3 Answers
+ 2
You should start by asking a question. What help do you need? What do you expect from this?
20th Mar 2024, 7:04 PM
Lisa
Lisa - avatar
+ 1
You should add all the numbers, and divide by 5. https://en.m.wikipedia.org/wiki/Mean
20th Mar 2024, 6:39 PM
Tibor Santa
Tibor Santa - avatar
+ 1
Марк Дункву , In the description you posted, it is said: ... you are to make the program work with any number of grades entered. ... For me this is not clear what this mean. Can there be less than 5 inputs? Or can there also be more than 5 inputs? Can you give some more details (may be with sample input data) ? Thanks!
20th Mar 2024, 7:08 PM
sandra
sandra - avatar