3
Contributors
3
Replies
4
Views
6 Years
Discussion Span
Last Post by \007
0

Please i need your help in writing pseudocodes on the who wants to be a millionaire game.

You First. show your effort.

Edited by Jx_Man: n/a

0

this is the one i wrote for the 50-50 lifeline
do
generate a random number from 1-4
repeat until random number <> correct answer
repeat answer in position of random number 1
do
generate a random number from 1-4
repeat until random <> correct answer and <> previous random number
remove answer of random number 2.

0

How about you first write a description of the game in plain English. Then you write a description of each ability/function in the game/program. Then you look at your English descriptions and highlight verbs and nouns.

Then you can take those notes and write pseudo-code for the main program and complicated functions if need be. Pay attention to the verbs as they will indicate what kinds of functions/steps will occur and nouns will be the objects you will generally be doing operations on.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.