Pseudocode is a kind of structured English for describing computer programs. It allows the designer to focus on the logic without being distracted
by details of language syntax. At the same time, the pseudocode needs to be complete. Using simple pseudocode, describe the steps you
currently take getting up in the morning and going to school or work. As an example of writing pseudocode, below is the basic logic for a game of Monopoly.(this is only part of the ex.)
A Game of Monopoly, including one player’s turn:
Procedure: Monopoly_Game
Hand out every player's initial money.
Decide which player goes first.
Repeat
Call Procedure Monopoly_Move for next player.
Decide if this player must drop out.
Until all players except one have dropped out.
Declare the surviving player to be the winner.
If you could give examples yourself or links to some that would be great help! Thanks!!!
2007-02-18
08:34:09
·
2 answers
·
asked by
Green Ranger
3
in
Computers & Internet
➔ Programming & Design