Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main(void) {
- int N = 0;
- scanf("%d", &N);
- int max = -9999;
- int number = 0;
- for (int i = 1; k <= N; i++){
- scanf("%d", &number);
- if (max < namber)
- max = number;
- }
- printf("%d\n", max);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement