prog.c:3: warning: return type defaults to ‘int’
prog.c: In function ‘main’:
prog.c:6: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result
prog.c: At top level:
prog.c:18: error: expected identifier or ‘(’ before ‘}’ token