SHARE
TWEET

Untitled

a guest Oct 10th, 2019 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include "pch.h"
  2. #include <iostream>
  3.  
  4. using namespace std;
  5. int main()
  6. {
  7.     int a, b, wynik1;
  8.     cout << "podaj a: ";
  9.     cin >> a;
  10.     cout << "podaj b: ";
  11.     cin >> b;
  12.  
  13.     if (b != 0)
  14.     {
  15.         wynik1 = a / b;
  16.         cout << "a/b = " << wynik1 <<"\n======================";
  17.     }
  18.     else
  19.     {
  20.         cout << "nie mozna podzielic\n======================";
  21.  
  22.     }
  23.  
  24. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top