Compute prime relation

I need a program that find a relation between two numbers entered by a user, and if the numbers share a common factor they will be a not relatively prime , otherwise they will be relatively prime.
The user has a message to enter first number
then receive it
then a new message to enter a second number.
then the program determine the relation and send a message to the user.
Best get programming, then. ;-)
Just Code it...
Topic archived. No new replies allowed.