int main () { cout << "Enter a number (decimal or binary): "; getline (cin, input); //read as string try { number = stoi(input); //read string and create int if ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results