online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
#include <iostream> using namespace std; int main() { int wybor, wybor2; int liczba1, liczba2, liczba3, liczba4, liczba5; cout<<"KALKULATOR"<<endl<<"Ile liczb chcesz uzyc (max 5): "; cin>>wybor; cout<<"Wpisz 1 liczbe: "; cin>>liczba1; cout<<"Wybierz dzialanie:"<<endl <<"1. Dodawanie"<<endl <<"2. Odejmowanie"<<endl <<"3. Mnozenie"<<endl <<"4. Dzielenie"<<endl; cout<<"Wybor: "; cin>>wybor2; if (wybor==2) { cout<<"Wpisz 2 liczbe: "; cin>>liczba2; } if ((wybor==2) && (wybor2==1)) cout<<"Suma wynosi: "<<liczba1+liczba2; else if ((wybor==2) && (wybor2==2)) cout<<"Roznica wynosi: "<<liczba1-liczba2; else if((wybor==2) && (wybor2==3)) cout<<"Iloczyn wynosi: "<<liczba1*liczba2; else if ((wybor==2) && (wybor2==4)) cout<<"Iloraz wynosi: "<<liczba1/liczba2; 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