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/18/2013 2:23:42 PM | Location : Canada







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

Write discussion on age guessing game
Your posts are moderated
Related Questions
C Program for RADIUS OF CIRCLE   #define PI 3.14159 main() {           float r,a;           clrscr();           printf("ENTER THE RADIUS OF A CIRCLE: ");

Question: (a) What is a function? Are functions needed when writing a C program? (b) State one of the advantages to the use of functions. (c) What do you meant by underst

A: A dangling pointer arises while you use the address of an object after its lifetime is end. It may occur in situations such as returning addresses of automatic variables from a

Convert coordinate: class rect{                 private :                 float  x,y;                   public :                 void  input()

When I develop a destructor, do I require to explicitly call the destructors for my member objects?

#question.to determine the area of a triangle,rectangle and trapezium

Rule: To determine the canonical form we should OR the min terms. A min term is defined as a Boolean equation of the input if the output is logic '1'. If the input is logic '1'

to calculate the amount to be paid by a customer buying yummy cupcakes for his birth day party


Define Types of storage classes in C language? There are four storage classes in C language: 1. Automatic storage class. 2. External storage class. 3. Register storage cla