CodePudding user response:
int n=0, sum=0;//define the error in the middle of the; Instead,
Int Max=0, min=100;//change the initial value
For (;; )
{the scanf (" % d ", & amp; Mark);
If (mark> 100)
{
Printf (" Mark> 100, both Please reinput \ n ");
continue;//logic fault, with the continue continue to cycle
}