online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <stdio.h> void main() { float x,sum,no_row; int i,n; printf("Input the value of x :"); scanf("%f",&x); printf("Input number of terms : "); scanf("%d",&n); sum =1; no_row = 1; for (i=1;i<n;i++) { no_row = no_row*x/(float)i; sum =sum+ no_row; } printf("\nThe sum is : %f\n",sum); }

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