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
Amazon Auto Links: No products found.
Keep up the great work!!!! 🙂
thanks but how to count the number of attempts
Why you didn’t use time(NULL) instead of time(t) min 9:15
how to scan number in between charecter and add it like input abc12sn3[ output 15
sir can you do this program without using loops