Discussion:
Lab 1 number guess
(too old to reply)
Diego Huang
2004-01-13 23:30:20 UTC
Permalink
Hi,

I was wondering, for the computer_guess, if the user does not type 'l',
'h' or 'c', then should the program output "My guess is num. Is that
[l]ow, [h]igh, or [c]orrect?" again or just "Is that [l]ow,
[h]igh, or [c]orrect?"?

Thanks,

Diego
Alexander Smith
2004-01-14 12:24:41 UTC
Permalink
Hi Diego,

It should print the whole thing again: "My guess is num. Is that [l]ow,
[h]igh, or [c]orrect?", and the value of num should be the same.

Alexander
Post by Diego Huang
Hi,
I was wondering, for the computer_guess, if the user does not type 'l',
'h' or 'c', then should the program output "My guess is num. Is that
[l]ow, [h]igh, or [c]orrect?" again or just "Is that [l]ow,
[h]igh, or [c]orrect?"?
Thanks,
Diego
Diego Huang
2004-01-14 20:34:21 UTC
Permalink
Thanks.

Diego
Date: Wed, 14 Jan 2004 12:24:41 GMT
Newsgroups: ut.ecf.ece242
Subject: Re: Lab 1 number guess
Hi Diego,
It should print the whole thing again: "My guess is num. Is that [l]ow,
[h]igh, or [c]orrect?", and the value of num should be the same.
Alexander
Post by Diego Huang
Hi,
I was wondering, for the computer_guess, if the user does not type 'l',
'h' or 'c', then should the program output "My guess is num. Is that
[l]ow, [h]igh, or [c]orrect?" again or just "Is that [l]ow,
[h]igh, or [c]orrect?"?
Thanks,
Diego
Continue reading on narkive:
Loading...