online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
/****************************************************************************** Online C Compiler. Code, Compile, Run and Debug C program online. Write your code in this editor and press "Run" button to compile and execute it. *******************************************************************************/ #include<stdio.h>//libreria int main(){ int a; float b; char c; // variable A printf("digite el valor de la variable A : "); if(scanf("%i", &a) != 1) printf("Entero no válido\n"); else printf(" el valor es: %i\n",a); // variable B printf("digite el valor de la variable B : "); while((c = getchar()) != '\n' && c != EOF); if(scanf("%f", &b) != 1) printf("Valor con coma flotante no válido\n"); else printf(" el valor de la variable B es: %f\n",b); // variable C printf("digite el valor de la variable C : "); while((c = getchar()) != '\n' && c != EOF); if(scanf("%c", &c) != 1) printf("Valor caracter no válido\n"); else printf(" el valor de la variable C es: %c\n",c); return 0; }

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