Important alert: (current site time 7/15/2013 5:29:19 PM EDT)
 

winzip icon

[ Guessing Program ]

Email
Submitted on: 3/10/2002 1:29:40 AM
By: Gonzales Cenelia  
Level: Beginner
User Rating: By 8 Users
Compatibility: C, C++ (general), Microsoft Visual C++, Borland C++
Views: 31268
author picture
(About the author)
 
     This program can guess any number between one and nine that you might have in mind by asking you some simple questions.

 

INCLUDE files:

Can't Copy and Paste this?
Click here for a copy-and-paste friendly version of this code!
//**************************************
//INCLUDE files for :[ GuessingProgram ]
//**************************************
#include <stdio.h>
#include <time.h>
#include <stdlib.h>
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 49 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Beginner category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments

3/9/2006 3:24:00 AMmithun

good
(If this comment was disrespectful, please report it.)

 
4/22/2006 5:13:57 AMANH CHIEN

HELLO

(If this comment was disrespectful, please report it.)

 
4/22/2006 9:05:13 AMGonzales Cenelia

hi!
(If this comment was disrespectful, please report it.)

 
5/15/2006 6:01:11 AMElvis

try 2
(If this comment was disrespectful, please report it.)

 
8/13/2006 2:34:04 AMpanguoqing

let me see
(If this comment was disrespectful, please report it.)

 
11/2/2006 5:33:00 AMs

well em getting 3 errors..
function tolower should have a prototype
function random has already been defined..
(If this comment was disrespectful, please report it.)

 
11/2/2006 9:02:06 AMGonzales Cenelia

what compiler are you using?
(If this comment was disrespectful, please report it.)

 
12/7/2006 3:19:31 AMRegin

its good
(If this comment was disrespectful, please report it.)

 
6/15/2007 2:41:59 AMlalit gupta

it veery
gud
(If this comment was disrespectful, please report it.)

 
5/13/2008 8:12:12 AMMINE

im getting 3 errors.. how can i solve it? pls help me out... thank you very much...


function tolower should have a prototype
function random has already been defined..

(If this comment was disrespectful, please report it.)

 
2/17/2009 7:31:34 AM-[cLc]- Ralph

good program ..
(If this comment was disrespectful, please report it.)

 
4/16/2009 5:22:07 AMRahul Sharma

im getting 3 errors..... how can i solve it

function tolower should have a prototype
function random has already been defined..


(If this comment was disrespectful, please report it.)

 
6/20/2009 6:58:06 PMKeNzOu

im getting 1 errors(declaration syntax error).. how can i solve it? pls help me out... thank you very much...
(If this comment was disrespectful, please report it.)

 
1/12/2011 11:19:16 PMkekey

its great!
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.