Horror Dash | Editorial by Sandeep_Pradhan

All Editorials
 
Here we just need to find the maximum element out of the whole array
Code:
```
int max = 0, c;
while(n--) {
    scanf("%d", &c);
    if(c > max)
        max = c;
}
printf("Case %d: %d\n", ++Case, max);
```

Here we just need to find the maximum element out of the whole array

Code:

int max = 0, c;
while(n--) {
    scanf("%d", &c);
    if(c > max)
        max = c;
}
printf("Case %d: %d\n", ++Case, max);