online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
/****************************************************************************** Esercizio 6. Leggere un carattere e dire se è una cifra. *******************************************************************************/ #include <iostream> using namespace std; int main() { char c; cout<<"inserisci un carattere "; cin>>c; if(c>='0'&&c<='9') { cout<<"e' una cifra"; } else { cout<<"non e' una cifra"; } }

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text
×

                

                

Program is not being debugged. Click "Debug" button to start program in debug mode.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue