C++ age guessing game, C/C++ Programming

Write a program that predicts users’ age (0-128 years old) with at most 7 questions. The game starts with asking the user whether he/she is younger or older than G (an initial guess). The user responds with ''''O’ for older'''', ‘Y for ''''younger'''' and ‘X’ for ‘you got it!’
Posted Date: 2/20/2013 10:28:03 PM | Location : Canada







Related Discussions:- C++ age guessing game, Assignment Help, Ask Question on C++ age guessing game, Get Answer, Expert's Help, C++ age guessing game Discussions

Write discussion on C++ age guessing game
Your posts are moderated
Related Questions
#questio#A Padovan string P(n) for a natural number n is defined as: P(0) = ‘X’ P(1) = ‘Y’ P(2) = ‘Z’ P(n) = P(n-2) + P(n-3), n>2 where + denotes string concatenation. For a string

accept principal amount,rate of interest, & duration from the user. display interest amount and total amount

Program is to define a class as employee: Write a program to define a class as employee and collect information about them by using classes and object class employee   {

Write a ''C'' program to accept any 3 digit integer number from the keyboard and display the word equivalent representation of the given number

Define global variable in c++ program: How to define a global variable and need of global variable in c++ program. int main() {    int m=20;    clrscr();    for

world wide web

Employ operator () instead of operator[]. While you have multiple subscripts, the cleanest way to do it is along with operator () instead of with operator[]. The reason is that

Illustration of Plot function: To be more common, the script could prompt the user for the time and temperature, instead of just assigning the values. Then, the axis function

A parking garage charges a $2.00 minimum fee to park for up to three hours and an additional $0.50 per hour for each hour or part thereof over three hours. The maximum charge for a

Here is a program that uses an inline function to compute and return the absolute value of its input argument. # include inline int abs(int x) {                  ret