Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- int a,b;
- cout << "witaj w guffienku zrobionym pszes marcina" << endl;
- cout << "podaj zmienna a" <<endl;
- cin >> a;
- cout << "podaj zmienna b" << endl;
- cin >> b;
- if(b==0)
- {
- cout << " nie mozna dzielic przez 0 " << endl;
- }
- else
- {
- cout << "wynik to: " << a/b << endl;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement