Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "pch.h"
- #include <iostream>
- using namespace std;
- int main()
- {
- int a, b, wynik1;
- cout << "podaj a: ";
- cin >> a;
- cout << "podaj b: ";
- cin >> b;
- if (b != 0)
- {
- wynik1 = a / b;
- cout << "a/b = " << wynik1 <<"\n======================";
- }
- else
- {
- cout << "nie mozna podzielic\n======================";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement