SHARE
TWEET

Untitled

a guest Dec 3rd, 2019 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>
  2.  
  3. using namespace std;
  4. //autor: Kacper Warot
  5.  
  6. bool podziel (int a, int b)
  7. {
  8.     if (a%b==0)
  9.         return 1;
  10.     else
  11.         return 0;
  12. }
  13. int main()
  14. {
  15.     int a,b;
  16.     cin >> a >> b;
  17.     cout << podziel(a,b);
  18.     return 0;
  19. }
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