i need help in writing the code for this ques

Microsoft Windows ce tool kit for visual...
February 25, 2010 at 07:25:19
Specs: Windows XP
C-Programming course work
You are required to create a game that will operate as follows;
•The player will guess a number between 1 and 9
•The computer will then select a random number between 1 and 9
•The program will then compare the two numbers and if they are equal the player wins and his/her score is increased by 1.if they are not equal the computer score increased by 1.
•The player can exit the game by entering -1.
when this occurs the players score and the computer score is displayed on the screen and the overall winner is congratulated via an appropriate message on the screen.

Question B
You are required to modify the above game so that instead of guessing numbers the player will guess a three letter word. You are required to ensure that the word enter has only 3 characters, otherwise allow the user to try again.
You are required to create an array string of size 10with 3 letter words which will be displayed to the user at the beginning of the game from which the player will select a word.
he word selected by the player and the 1 selected by the computer will be compared and the scoring is done similar to the one above. In this case however, allow the user to enter the number of times they desire to run the program. at the end of the game display the computer's score and the player's score and a congratulation message to the overall winner...

i need help in writing this code please...

See More: i need help in writing the code for this ques

Report •

February 25, 2010 at 08:03:50
Start with pseudo-code.

Helping others achieve escape felicity


Report •
Related Solutions

Ask Question