print max val c
//print max value
int currVal;
int maxNum;
scanf("%d", &currVal);
maxNum = currVal;
while (currVal > 0)
{
if (currVal > maxNum) {
maxNum = currVal;
}
scanf("%d", &currVal);
}
printf("Max val: %d", maxNum);