online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <stdio.h> #include <math.h> int main() { float input; printf("\nInput 1.0,1.1,1.2 or 1.3\n"); scanf("%f",&input); if (fabs((input - 1.0)/1.0)<0.00001) { printf("One point zero"); } else if (fabs((input - 1.1)/1.1)<0.00001) { printf("One point one"); } else if (fabs((input - 1.2)/1.2)<0.00001) { printf("One point two"); } else { printf("One point three"); } 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