| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 495 人关注过本帖
标题:谁来帮帮我..留学生..作业做不出来了
只看楼主 加入收藏
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
快速回复:谁来帮帮我..留学生..作业做不出来了
数据加载中...
 
   



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

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