I need help writing in IPO Chart and pseudocode for an assignment asking to "Write a program that prompts the user to input a positive integer. He should then output a message indicating whether the number is a prime number."
This is what I came up with for the IPO chart:
I P O
Positive integer Get user input Positive integer
Message (i,e. Prime number) Message
Positive integer Find the result based on integer entered Result
Positive integer, message, Result Display all Positive integer, message, Result