Compiler output
prog.cpp: In function 'bool onlynumber(const char*)':
prog.cpp:8:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for( i = 0 ; i < strlen ( ch ) ; i ++ )
^
prog.cpp: In function 'bool onlyupper(const char*)':
prog.cpp:23:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for ( i = 0 ; i < strlen ( ch ) ; i ++ )
^
prog.cpp: In function 'int main()':
prog.cpp:54:15: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if( flg )
^