prog.c: In function ‘main’:
prog.c:24: error: ‘k’ undeclared (first use in this function)
prog.c:24: error: (Each undeclared identifier is reported only once
prog.c:24: error: for each function it appears in.)
prog.c:27: error: ‘retunr’ undeclared (first use in this function)
prog.c:27: error: expected ‘;’ before numeric constant
prog.c:15: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result
prog.c:19: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result