online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <stdio.h> void main(){ int num,i,ctr,stno,enno; printf("Input starting number of range: "); scanf("%d",&stno); printf("Input ending number of range : "); scanf("%d",&enno); printf("The prime numbers between %d and %d are : \n",stno,enno); for(num = stno;num<=enno;num++) { ctr = 0; for(i=2;i<=num/2;i++) { if(num%i==0){ ctr++; break; } } if(ctr==0 && num!= 1) printf("%d ",num); } printf("\n"); }

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