#include <iostream> using namespace std; int main() { bool isNumber(char Symbol) { if (Symbol >= '0' && Symbol <= '9') return true; else return false; } return 0; }
2
prog.cpp: In function ‘int main()’: prog.cpp:6:1: error: a function-definition is not allowed here before ‘{’ token { ^
Standard output is empty