|
Hi everyone,
This is the first time I've just signed on this web, so I hope that you'll welocome me. I'm very new in c++, and I have a problem with one of the programs. The teacher said that we have to make a program that counts the average grade for a number of students' homework. The program should count the lowest mark for each one, which means that if the user intered these numbers (56, 78, 89, 67,45, 34) the program will not count the lowest grade which is 34 and will add the others together and devide them with 5 not 6 to get the average. The program should aslo stop counting when the user enters -number like -67, this one I know, I just need to know hoe would the program identify the lowest mark, and the rest I'll do it myself.
Sorry for making it long, and thanks in advance
|
|
|
|
|
|
|
// |