online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
#include<stdio.h> int main(){ double Arr[23]={0.5,0.6,0.7,0.75,0.8,0.85,0.9,0.95,0.96,0.97,0.98,0.99,0.991,0.992,0.993,0.994,0.995,0.996,0.997,0.998,0.999,0.9995,0.9999}; int i; double P; for (i=0; i<23; i++){ printf("\nMoi nhap P="); scanf("%lf",&P); if (P!=Arr[i]){ printf("\nP nhap sai, moi nhap lai"); } while (P==Arr[i]); printf("\nP nhap dung"); break; } 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