# cmath — Mathematical functions for complex numbers. # This module is always available. It provides access to mathematical functions for complex numbers. # The functions in this module accept ...
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 ...