online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
#include <iostream> #include<math.h> using namespace std; int main() { int y=25; float x =0 ; double i; cout<<"Let's find the Square Root of " << y; while (i < y) { x = x + 1; i = x*x; if(y == i) { cout<<"\nThe square root of 25 is " << x; break; } } }

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