online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
#include <iostream> #define pi 3.14 #include<cstdlib> #include<cmath> using namespace std; float Convert(float radian) { return(radian * (180 / pi)); } int main() { float radian = 78; float degree = Convert(radian); cout <<"The value of degree is " << degree; 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.