Please help ive been stuck on this for a while and I'm just starting programming so I cant use anything past looping.
Write a program that prompts the user to input a positive integer. It should then output a message
indicating whether the number is a prime number or not. Solve this program using a flag
controlled loop.
For an added bonus if the number is not prime, you can display all the numbers it divides by.
Which C type do you want to use to hold the “positive integer”? Refer to the description of limits.h for assistance.
“Positive input” suggests that any number greater than zero is ok. As you study the definition of prime numbers you will see that the lower limit is actually greater than zero.