prog.c: In function 'main':
prog.c:15:2: error: 'input' undeclared (first use in this function)
input
^
prog.c:15:2: note: each undeclared identifier is reported only once for each function it appears in
prog.c:16:2: error: expected ';' before 'return'
return 0;
^