I have a program that is to calculate the mean for a class into two parts , when is above 70 and the second is below 70.
I want to use SENTINEL to finish the program when the user enters n.
I did most of the code , but i still have more to do , please guide me through the rest .
Your program does not takes numbers. It takes characters and then threats it as numbers. Look up that table to understand it: http://www.asciitable.com/
To fix your program, say what should it do when user enters, say, 'x'? or '@'?