Pseudocode is just a formalized list of steps, there really aren't any rules beyond generally trying to remain consistent and logically sound.
So your job is to break the assignment into component parts. What steps are involved? What order are the steps in? For example, it's not unreasonable to have user input as the first step because that kicks everything off. So what happens after user input? You need to organize the cause and effect of this program in your mind, then formalize it into steps. Those steps can then be further formalized into pseudocode or a flowchart.
By the way, our homework rule states that you must provide some proof of effort. Just plopping your assignment down and expecting any kind of meaningful help is both nonsensical and a violation of our rules.
deceptikon
Challenge Accepted
3,499 posts since Jan 2012
Reputation Points: 822
Solved Threads: 481
Skill Endorsements: 58