Page 1 of 1

guess the word

Posted: Tue Nov 30, 2004 10:57 am
by Anonymous
i have a project thats due in about a week, and i need help. the thing is about guess the word, and i am having trouble getting the program to display the word and move throug the processes ie)

you have 7 points and the word is ----
please enter a letter: e
you have 7 points and the word is -e--
please enter a letter:n
you have 6 points and the word is -e--
please enter a letter: h
you have 6 points and the word is he--
please enter a letter: p
you have 6 points and the word is he-p
please enter a letter: l
you have 6 points and the word is help
congratulations you have guessed the word


Archived topic from Iceteks, old topic ID:2874, old post ID:23480

guess the word

Posted: Tue Nov 30, 2004 3:19 pm
by Chris Vogel
In what computer language are you programming? :)

Archived topic from Iceteks, old topic ID:2874, old post ID:23486

guess the word

Posted: Tue Nov 30, 2004 4:23 pm
by Red Squirrel
I would guess it's turing. :D

I need to learn this so I can help others we can be an ultamate turing resource site. :lol:

Archived topic from Iceteks, old topic ID:2874, old post ID:23487

guess the word

Posted: Tue Nov 30, 2004 7:32 pm
by Anonymous
yup its turing :)

Archived topic from Iceteks, old topic ID:2874, old post ID:23491

guess the word

Posted: Tue Nov 30, 2004 8:58 pm
by wtd
Well, you're doing something repeatedly, so you start with a loop.

Archived topic from Iceteks, old topic ID:2874, old post ID:23492

guess the word

Posted: Thu Dec 02, 2004 3:18 pm
by Death
I know how to solve that program but it's been awhile since I've programmed in turing. I need the program to test my theories. I forgot how to use CHAR comparisons like LENGTH and CHAR and ORD. I'll see what can be done. Gonna try to get the program.

Archived topic from Iceteks, old topic ID:2874, old post ID:23532

guess the word

Posted: Thu Dec 02, 2004 10:03 pm
by Murray
NOOO not turing!!! ... Altho having to learn C in college then turing probably wouldnt be that bad ... as u can tell i hate programming.
Sorry i couldnt help with your program :(

Archived topic from Iceteks, old topic ID:2874, old post ID:23538