guess the word

Computer builds, hardware and software discussion or troubleshooting, including peripherals. Essentially a general place to talk about desktop computers.
Locked
Anonymous

guess the word

Post 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
Chris Vogel
Posts: 5140
Joined: Fri Jan 10, 2003 1:14 am

guess the word

Post by Chris Vogel »

In what computer language are you programming? :)

Archived topic from Iceteks, old topic ID:2874, old post ID:23486
User avatar
Red Squirrel
Posts: 29209
Joined: Wed Dec 18, 2002 12:14 am
Location: Northern Ontario
Contact:

guess the word

Post 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
Honk if you love Jesus, text if you want to meet Him!
Anonymous

guess the word

Post by Anonymous »

yup its turing :)

Archived topic from Iceteks, old topic ID:2874, old post ID:23491
wtd
Posts: 157
Joined: Sat Sep 25, 2004 7:21 pm

guess the word

Post 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
User avatar
Death
Posts: 7919
Joined: Thu Sep 30, 2004 10:12 pm

guess the word

Post 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
User avatar
Murray
Posts: 32
Joined: Mon Oct 04, 2004 10:05 pm

guess the word

Post 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
Locked