Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grátis+ 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
3 Respostas
+ 2
You should start by asking a question.
What help do you need? What do you expect from this?
+ 1
You should add all the numbers, and divide by 5.
https://en.m.wikipedia.org/wiki/Mean
+ 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!