Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- int a = 1;
- int b = 1;
- while (a%20 == 0)
- a++;
- cout << "a" << a << '\t';
- while (b==20)
- {
- if (a%b == 0)
- {
- ++b;
- cout << "b" << b << '\t';
- }
- else
- {
- cout << "niepodzilene nastepny" <<'\t';
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement