C Practical and Assignment Programs-Guessing Game Program

C Practical and Assignment Programs-Guessing Game Program
In this video we will be designing a guessing game. In which the user has to guess the number. The full description of the question is provided below. This is the first time we will be doing video game program. This is very basic game program it is command line based. Now this program is written in C programming language but will work in C++.Fell free to provide you suggestion.
Question: Write a program that allows a user to play a guessing game. Pick a random number in between 1 and 100, and then prompt the user for a guess. Based on their guess, tell them that their guess is too high, too low, or correct. If the guess is not correct, re-prompt the user for a new guess. Continue doing so until the user has properly picked the number.

Source Code: http://wethecomputerguys.com/2014/02/27/c-practical-and-assignment-programs-guessing-game-program/

Area and perimeter of rectangle: http://youtu.be/ooa_L3QPYbk

Playlist: https://www.youtube.com/playlist?list=PLPgpWDN1BdTvWebvqTXQie6yIjx6yOXFZ

Blog: http://wethecomputerguys.com

http://youtu.be/R90pmAB2foo
We The Computer Guys
Shreyas Zagade
Aakash Thakur
Ananya Jain

Comments

Nikhil Rahate says:

Keep up the great work!!!! 🙂

THE KERNEL says:

thanks but how to count the number of attempts

Moustafa Bessar says:

Why you didn’t use time(NULL) instead of time(t) min 9:15

Purnendu Kar PK says:

how to scan number in between charecter and add it like input abc12sn3[ output 15

urikiti sharmila says:

sir can you do this program without using loops

 Write a comment

*

Do you like our videos?
Do you want to see more like that?

Please click below to support us on Facebook!