#include using namespace std; int main() { cout << "1.dodawanie" << endl; cout << "2.odejmowanie" << endl; cout << "3.dzielenie" << endl; cout << "4. reszta z dzielenia" << endl; cout << "5.zamkniecie programu" << endl; int a,b,c; cin >> a; if (a == 1) { cin >> b; cin >> c; cout << b + c << endl; cout << b - c << endl; if (c != 0) cout << b / c; } if (a == 2) { cin >> b; cin >> c; cout << b / c; } if (a==4) { cin >> b; cin >> c; cout << b%c; } if (a = 0) { return 0; } system("PAUSE"); return 0; }