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

We The Computer Guys
Shreyas Zagade
Aakash Thakur
Ananya Jain


Nikhil Rahate says:

Keep up the great work!!!! :)


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


Human Verification: In order to verify that you are a human and not a spam bot, please enter the answer into the following box below based on the instructions contained in the graphic.

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

Please click below to support us on Facebook!

Send this to a friend

▷ Other ReviewsVehicles▷ Show Cars▷ Motorbikes▷ Scooters▷ Bicycles▷ Rims & Tires▷ Luxury BoatsFashion▷ Sunglasses▷ Luxury Watches▷ Luxury Purses▷ Jeans Wear▷ High Heels▷ Kinis Swimwear▷ Perfumes▷ Jewellery▷ Cosmetics▷ Shaving Helpers▷ Fashion HatsFooding▷ Chef Club▷ Fooding Helpers▷ Coktails & LiquorsSports▷ Sport Shoes▷ Fitness & Detox▷ Golf Gear▷ Racquets▷ Hiking & Trek Gear▷ Diving Equipment▷ Ski Gear▷ Snowboards▷ Surf Boards▷ Rollers & SkatesEntertainment▷ DIY Guides▷ Zik Instruments▷ Published Books▷ Music Albums▷ Cine Movies▷ Trading Helpers▷ Make Money▷ Fishing Equipment▷ Paintball Supplies▷ Trading Card Games▷ Telescopes▷ Knives▷ VapesHigh Tech▷ Flat Screens▷ Tech Devices▷ Camera Lenses▷ Audio HiFi▷ Printers▷ USB Devices▷ PC Hardware▷ Network Gear▷ Cloud Servers▷ Software Helpers▷ Programmer Helpers▷ Mobile Apps▷ Hearing AidsHome▷ Home Furniture▷ Home Appliances▷ Tools Workshop▷ Beddings▷ Floor Layings▷ Barbecues▷ Aquarium Gear▷ Safe Boxes▷ Office Supplies▷ Security Locks▷ Cleaning ProductsKids▷ Baby Strollers▷ Child Car Seats▷ Remote ControlledTravel▷ Luggages & Bags▷ Airlines Seats▷ Hotel Rooms▷ Fun Trips▷ Cruise Ships▷ Mexico Tours