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.