| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Quick Question
I made a guessing game program, and the only thing i have to do now is add random statements. For example if the guess is lower than the number it may cout one statement the first time, then it cout another statement the next time, can anyone help????
|
|
#2
|
|||
|
|||
|
Make use of srand() and rand() functions.
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > C/C++ Help > Quick Question |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|