Advertisement
Guest User

Untitled

a guest
Dec 3rd, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement