eidtelnvil
03-28-05, 20:34
I know next to nothing about C programming and need to develop a simple program to play rock, paper, scissors.
The choices need to be:
1 - Explain the rules
2 - Play the game
3 - Quit
The computer needs to prompt the user to enter a choice. When they play the game, the computer selects its own rock, paper, or scissor. Then the computer displays the results of the game. The game continues until the user selects 3 to quit.
I know this is probably the easiest program imagineable, but I barely have time to do it. I have to have knee surgery on Wednesday and I don't know where to even begin. If anyone can point me in the right direction, I will sing your praises for all eternity.
Thanks in advance.
The choices need to be:
1 - Explain the rules
2 - Play the game
3 - Quit
The computer needs to prompt the user to enter a choice. When they play the game, the computer selects its own rock, paper, or scissor. Then the computer displays the results of the game. The game continues until the user selects 3 to quit.
I know this is probably the easiest program imagineable, but I barely have time to do it. I have to have knee surgery on Wednesday and I don't know where to even begin. If anyone can point me in the right direction, I will sing your praises for all eternity.
Thanks in advance.