标题:[求助]a problem, please help
只看楼主
Anstey
Rank: 1
等 级:新手上路
帖 子:94
专家分:0
注 册:2004-4-14
 问题点数:0 回复次数:4 
[求助]a problem, please help
i m currently doing my assignment, and the whole thing s about a word guessing game, part of it is like:
it is got a destination list, and then ask the user to input a destination, either is upper or lower case, so that the user will get to that destination, and when the user put an invalid destination, which means not in the list. the program should keep asking the user to input the destination until a valid one, and my question is, how can i tell if the user has input an invalid destination, someone told me to use a loop , checking using StringTokenizer to seperate destination list, and i tried, but it didnt work! so anyone help me???? and i m sure u have to use loop. coz thats what we been taught recently!
THANKS SO MUCH!!!
for example,
Destination list: B,C,E,
Enter the destination: F
Enter the destination: k
Enter the destination: o
Enter the destination: v
and so on.........
搜索更多相关主题的帖子: problem please help 
2004-04-15 19:10
Anstey
Rank: 1
等 级:新手上路
帖 子:94
专家分:0
注 册:2004-4-14
得分:0 

我学的JAVA都是用英文的,如果你们都讲中文的名词,我都看不懂!!真的很对不起,我的英文很不好,没有什么别的意思,谢谢,大家帮帮我!!!!!!ASSIGNMENT交不了了!!!!


Anstey. Cheers. I love CAPPUCCINO~~
2004-04-15 19:35
homelesses
Rank: 1
等 级:新手上路
帖 子:4
专家分:0
注 册:2006-4-29
得分:0 

it's my baby! the java section of chinese download by www.zasp.net.

I had a english-java section for your study, shall you ?

2006-05-10 10:39
★王者至尊★
Rank: 1
等 级:新手上路
帖 子:528
专家分:0
注 册:2006-3-28
得分:0 

英文不好怎么还学 英文的java


------Java 爱好者,论坛小混混,学习中------
2006-05-10 12:32
zhouxin
Rank: 2
等 级:新手上路
威 望:4
帖 子:76
专家分:0
注 册:2006-4-28
得分:0 

看了之后那是相当的自卑,。
回家学英语了。


好好编程好好学习
2006-05-10 16:38



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-423-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.016115 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved