- Joined
- Dec 12, 2022
- Messages
- 1
- Reaction score
- 0
So the program that I want to make it is about printing all the pair co-prime numbers in a given range, if type 10 it has to print out every co-prime number like {1,2} , {2,3} and so on until it reaches the the typed number. So I have to make it with a range that i give and it has to print out every possible pair of co-prime numbers in it. Maybe it has to have an outside of the main function and then it should be called in the main. I don't know can you guy help me.
Any ideas ?
Any ideas ?