online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include<iostream>//نبدأ بوضع المكتبات using namespace std;//نبدأ بوضع المكتبات int main(){//الدالة الرئيسية int numbers; cout<<"1-summation"<<endl<<"2-differentiation"<<endl<<"3-multiplication"<<endl<<"4-division"<<endl; cout<<"enter the number to operate"; cin>>numbers; if (numbers>=1 && numbers<=4){ int a,b;// if ولكننا لن نستطيع إستدعاء المتغيرات سوى بداخل جملة if يمكننا تعريف المتغيرات بداخل جملة  cout<<"please put the first number you want to operate"; cin>>a; cout<<"please put the second number you want to operate"; cin>>b; if (numbers==1)// إذا كان رقم العملية 1 قم بعمل الآتي cout<<a<<"+"<<b<<"="<<a+b<<endl; // وقم بعمية الجمع aو b قم بطباعة الرقمان المتواجدان في  if (numbers==2)// إذا كان رقم العملية 2 قم بعمل الآتي cout<<a<<"-"<<b<<"="<<a-b<<endl; // وقم بعملية الطرح aو b قم بطباعة الرقمان المتواجدان في  if (numbers==3)// إذا كان رقم العملية 3 قم بعمل الآتي cout<<a<<"*"<<b<<"="<<a*b<<endl; // وقم بعملية الضرب aو b قم بطباعة الرقمان المتواجدان في  if (numbers==4)// إذا كان رقم العملية 4 قم بعمل الآتي cout<<a<<"/"<<b<<"="<<a/b<<endl;} // وقم بعملية القسمة aو b قم بطباعة الرقمان المتواجدان في  else {cout<<"are you serious, i told you its from 1 to 4"<<endl;} 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.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue