online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
#include<stdio.h> void main() { int p,r,t; float i; printf("Enter the Principal, Rate and Time\n"); scanf("%d %d %d",&p,&r,&t); /*Formula for calculating simple interest*/ i=p*r*t/100; printf("simple interest is : %f",i); }

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text



Program is not being debugged. Click "Debug" button to start program in debug mode.