Coders Packet

5 up or 5 down using c++

By Anshika Negi

The project is an interactive game based on a guessing game , 5 up or 5 down where the user can guess if the number generated will be less or more than 5.

The packet generates a random number between 1-10. We have to keep guess if the number generated by the program will be less than or more than 5.
User gets choices between lesser than or greater than 5 and according to that the program will continue. To generate random numbers we use function rand.

User page

If the user's guess is correct then the user wins the game or less they have to try again.

Won

Try again

By chance the generated number will be equals to 5 then the user gets another try.

Tie

 

Download Complete Code

Comments

No comments yet

Download Packet

Reviews Report

Submitted by Anshika Negi (anshikaaa)

Download packets of source code on Coders Packet