[ create a new paste ] login | about

Link: http://codepad.org/H7EYU1le    [ raw code | output | fork ]

C, pasted on Sep 19:
1
2
3
4
5
6
7
8
9
10
#include <stdio.h>

main() {
    int a,b,c,m;
    scanf("%d%d%d",&a,&b,&c);
    m = a;
    if (m < b) m = b;
    if (m < c) m = c;
    printf("%d", m);
}


Output:
1
2
134513565
Exited: ExitFailure 9


Create a new paste based on this one


Comments: