hmmm... well a long way would be to incorporate all the prime numbers into a function, and if it matches that in the function then it's prime (from the number the user entered)
really long time to make something like that, or...
cheat and write the mat.h library header into a function and use it in your assignment
