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
-
- Posts: 5140
- Joined: Fri Jan 10, 2003 1:14 am
guess the word
In what computer language are you programming?
Archived topic from Iceteks, old topic ID:2874, old post ID:23486
Archived topic from Iceteks, old topic ID:2874, old post ID:23486
- Red Squirrel
- Posts: 29209
- Joined: Wed Dec 18, 2002 12:14 am
- Location: Northern Ontario
- Contact:
guess the word
I would guess it's turing.
I need to learn this so I can help others we can be an ultamate turing resource site.
Archived topic from Iceteks, old topic ID:2874, old post ID:23487
I need to learn this so I can help others we can be an ultamate turing resource site.
Archived topic from Iceteks, old topic ID:2874, old post ID:23487
Honk if you love Jesus, text if you want to meet Him!
guess the word
yup its turing
Archived topic from Iceteks, old topic ID:2874, old post ID:23491
Archived topic from Iceteks, old topic ID:2874, old post ID:23491
guess the word
Well, you're doing something repeatedly, so you start with a loop.
Archived topic from Iceteks, old topic ID:2874, old post ID:23492
Archived topic from Iceteks, old topic ID:2874, old post ID:23492
guess the word
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
Archived topic from Iceteks, old topic ID:2874, old post ID:23532
guess the word
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
Sorry i couldnt help with your program
Archived topic from Iceteks, old topic ID:2874, old post ID:23538