Advertisement
Guest User

Untitled

a guest
Jan 16th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7. int a = 1;
  8. int b = 1;
  9.  
  10. while (a%20 == 0)
  11. a++;
  12. cout << "a" << a << '\t';
  13. while (b==20)
  14. {
  15. if (a%b == 0)
  16. {
  17. ++b;
  18. cout << "b" << b << '\t';
  19. }
  20. else
  21. {
  22. cout << "niepodzilene nastepny" <<'\t';
  23. }
  24. }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement