标题:谁来帮帮我..留学生..作业做不出来了
只看楼主
westic9527
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2010-10-31
结帖率:0
已结贴  问题点数:20 回复次数:1 
谁来帮帮我..留学生..作业做不出来了

要用java写这个程序..
if x is null then prompt the user and read x
if x is not null and is bigger than 39 then print〝too big〞and make x by 10
if x is not null and is between 10 and 39 then print〝X〝and reduce x by 10
if x is not null and is equal to 9 then print〝IX〞and reduce x to 0
if x is not null and is between 5 and 8 then print 〝V〝and reduce x by 5
if x is not null and is equal to 4 then print 〝IV〝and reduce x to 0
if x is not null and is between 1 and 3 then print 〝I〝and reduce x by 1
if x is not null and is equal to 0 then print an end-of-line and make x null.
用自由的顺序判断条件真假..直到条件为ture为止..
ture的时候执行什么命令
重复操作
搜索更多相关主题的帖子: 留学生 作业 
2010-10-31 00:45
jackieli2074
Rank: 6Rank: 6
来 自:上海
等 级:侠之大者
威 望:1
帖 子:183
专家分:494
注 册:2010-8-3
得分:20 
看英文部分蛮简单,到了中文部分我看不懂了.
2010-11-01 15:52



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




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

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