/in/foo.cc: In function 'int ten(int)':
/in/foo.cc:14:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
/in/foo.cc: In function 'int hundred(int)':
/in/foo.cc:25:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
/in/foo.cc: In function 'int thousand(int)':
/in/foo.cc:37:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
/in/foo.cc: In function 'int million(int)':
/in/foo.cc:49:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:125:19: error: expected ';' before 'cout'
else{million(p)cout<<" "<<"and"<<" ";hundred(k);return 0;}
^~~~