I need some ideas:
The called program gets as parameters two or more integers and and returns 0 if all pairs of two are relatively primes, and 1otherwise. The callee shall read a sequence of numbers and tell whether they two by tworelatively primes.

Hey There,

Can you post the code you have so far and I'm sure someone who cruises these boards will be able to help you figure out how to make it work (or make it work better :)

Best wishes,

Mike

i managed to solve it, in the end...i attached the solution if anyone is interested

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.