Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- double a,b;
- cout << "Podaj liczbe: ";
- cin >> a;
- cout << "Podaj druga liczbe: ";
- cin >> b; a +=b;
- cout << endl << "Wynik: " << a << ".";
- cin.sync(); cin.get();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment