Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- for (int i = 1; i < 10; i++)
- {
- for (int j = 0; j < 10; j++)
- {
- if ((i * i + j * j) % 17 == 0)
- {
- cout << " " << i << j << endl;
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment