I have problem with my homework in C++

There is number n and numbers a1, a2, ... , an ( n<100 ) And I need to get thous number pairs, that are mutual prime.

Also I need to use function, that calculates two number mutual primes. :S

## Recommended Answers

Jump to PostHave you got as far as say

- extracting all the factors for a given number?

Jump to PostDo you mean coprimes?

Also, see this forum announcement.

## All 6 Replies

Salem
5,138
Posting Sage

Duoas
1,025
Postaholic
Featured Poster

valdix
0
Newbie Poster

valdix
0
Newbie Poster

WaltP
2,905
Posting Sage w/ dash of thyme
Team Colleague

Salem
5,138
Posting Sage

Be a part of the DaniWeb community

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