online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
#include<conio.h> #include<stdio.h> void main() { int f,g,x; scanf("%d",&x); g=2; f=1; while(g<=x) { f=f*g; g++; } printf("Factor= %d",f); getch(); }

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