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

Recommended Answers

All 3 Replies

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

You First. show your effort.

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.

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.