code only

aprogram that accepts mark of five student and thendisplay their average.the program shoud not accept mark which is less than 0 and mark greater than 100 . if the user does not enter the apropriate mark value the program should tell him that the value you entered is not correct .the program should then give the user another chance to entwer the correct value again.(you should use "break& continue statement")
I doubt anyone on here will be happy just giving you the answer. Consider these links:
Standard Output: http://cplusplus.com/reference/iostream/cout/
Standard Input: http://cplusplus.com/reference/iostream/cin/
Loops/Flow Control (including break, continue): http://www.cplusplus.com/doc/tutorial/control/
Last edited on
Topic archived. No new replies allowed.