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 <iostream> #include <cmath> #include <iomanip> using namespace std; int main (void) { int i, j, n, m, z, kitimas, eilnr; double r, r1, r2, r3, r4, r5, k, r134, Skaitiklis, Vardiklis; kitimas=9; eilnr = 1; for (i = 1; i <= kitimas; i = i + 1) { r1=i; for (j = 1; j <= kitimas; j = j + 1) { r2=j; for (n = 1; n <= kitimas; n = n + 1) { r3=n; for (m = 1; m <= kitimas; m = m + 1) { r4=m; for (z = 1; z <= kitimas; z = z+ 1) { r5=z; r134 = (r3 * r4) / (r3 + r4 )+ r1; Skaitiklis = (r2 * r134 * r5); Vardiklis = ((r2 * r134)+( r134 * r5)+(r2 * r5)); r = Skaitiklis / Vardiklis; k = round (r) ; if (r == k ) { cout << fixed << setprecision (0)<<"Nr. "<< eilnr <<" R1= "<< r1 <<" R2="<< r2<<" R3="<< r3<<" R4="<< r4<<" R5="<< r5<<" r134=" << fixed << setprecision (2)<< r134<<" Skaitiklis=" << Skaitiklis<<" Vardiklis=" << Vardiklis<<" R=" << r << " omu " <<endl; eilnr = eilnr + 1; } } } } } } 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