Create a program tht wll calculate the average marks of 10 learners and with the average it wll determine with symbol they got A | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Create a program tht wll calculate the average marks of 10 learners and with the average it wll determine with symbol they got A

Create a program tht wll calculate the average marks of 10 learners and with the average it wll determine with symbol they got A=75+ B 60-74 C 50-59 D 40- 49 0-39 fail

12th May 2018, 11:48 AM
Christianrosejr
Christianrosejr - avatar
3 Answers
+ 1
it is quiet easy by using array, with for loop
28th May 2018, 7:08 PM
Programmer Rushikesh
Programmer Rushikesh - avatar
+ 9
Have you tried making it yourself?
12th May 2018, 12:38 PM
Robyn A
Robyn A - avatar
+ 1
I could easily do this in python, but I’m not quite so knowledgeable in C++. It’s not too hard though. Make a variable for each student, add all of their scores up in another variable. Divide this by the amount of numbers added. Then use if statements to decide where the student belongs.
12th May 2018, 1:09 PM
Jax
Jax - avatar