hi guys am a kenyan and i just got started learning the c++. its awesome.
i have a question i wuld like to ask for answers soon. help me in making a program that will allow the computer to choose any number between one and a hundred then the user has 6 options to guess but after the 6th and the users hasnt gotten it right, the comp displays the correct number. i also need some simple codes coz am new in this game guyz. thanx in advance hope i'll get the answers
gmwass
0
Newbie Poster
Recommended Answers
Jump to PostWe're not going to give you a complete solution, wouldn't want to spoil your fun by learning how to program it yourself. How much C and/or C++ do you already know? Do you know how to make the program chose a number between 1 and 100? Hint: use the mod …
Jump to PostOne of the things you need to learn is how to look up the descriptions for functions that you do not understand. google is your best friend for doing that. Example: good for "c++ rand" and you will get this list. Any of the first 6 entries in …
All 5 Replies
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
soche123
0
Junior Poster in Training
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
rubberman
1,355
Nearly a Posting Virtuoso
Featured Poster
tinstaafl
1,176
Posting Maven
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.