Run ❯
Get your
own
website
❯
Run Code
Ctrl+Alt+R
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Go to Spaces
Ctrl+Alt+P
#include
int main() { int scores[] = {72, 61, 95, 88}; int length = sizeof(scores) / sizeof(scores[0]); int highest = scores[0]; for (int i = 1; i < length; i++) { if (scores[i] > highest) { highest = scores[i]; } } printf("Highest score: %d\n", highest); return 0; }
Highest score: 95