prog.cpp: In function ‘int main()’:
prog.cpp:30: error: ‘m’ was not declared in this scope
prog.cpp:33: error: ‘m’ was not declared in this scope
prog.cpp:38: error: expected `}' at end of input
prog.cpp:38: error: expected `}' at end of input
prog.cpp:14: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
prog.cpp:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result