Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- int wybor;
- cout << "[1] dodawanie" << endl;
- cout << "[2] odejmowanie" << endl;
- cout << "[3] mnozenie" << endl;
- cout << "[4] dzielenie" << endl;
- cout << "[5] rezygnuj" << endl;
- cin >> wybor;
- double a, b;
- cout << "Podaj dwie liczby rzeczywiste: ";
- cin >> a >> b;
- switch(wybor)
- {
- case 1:
- cout << a << " + " << b << " = " << a + b << endl;
- case 2:
- case 3:
- case 4:
- case 5:
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment