Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "stdafx.h"
- #include "iostream"
- using namespace std;
- int main()
- {
- double lb1,lb2;
- cout<<"Podaj liczbe: ";
- cin>>lb1;
- cout<<"Podaj druga liczbe: ";
- cin>>lb2;
- cout<<"/n";
- cout<<"Ich suma wynosi: "<<lb1+lb2<<endl;
- cout<<"Ich roznica wynosi: "<<lb1-lb2<<endl;
- cout<<"Ich iloraz wynosi: "<<lb1*lb2<<endl;
- cout<<"Ich iloczyn wynosi: "<<lb1/lb2<<endl;
- cin.get();
- cin.get();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment