标题:加分答题
只看楼主
ft5032839
Rank: 1
等 级:新手上路
帖 子:22
专家分:0
注 册:2004-11-30
得分:0 

改过程序后:

import javax.swing.JOptionPane;

class Cvs{ public static void main(String args[]){ String output ="" ; int i , j , k ; String input = JOptionPane.showInputDialog("Please Enter String") ; if (input.length() <= 60){ for ( i = input.length() -1 ; i >= 0 ; i--) output+= input.charAt( i ); }

JOptionPane.showMessageDialog( null , output, "Reverse Program", JOptionPane.PLAIN_MESSAGE); System.exit(0); } }

2004-12-07 22:33
sting2005
Rank: 1
等 级:新手上路
帖 子:5
专家分:0
注 册:2004-9-6
得分:0 

现在还能提交吗?

刚写了一下详见附件

[attach]1293[/attach]

2004-12-15 17:48
hylzp168
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2004-12-21
得分:0 
没过四级的人就是惨哦!!

天生排骨!
2004-12-21 20:32
jason444
Rank: 1
等 级:新手上路
帖 子:15
专家分:0
注 册:2004-12-26
得分:0 

two function :one is loop and the other one is recursion. Please be kind enough to add some scores to me ^_^

[attach]1350[/attach]

[此贴子已经被作者于2004-12-28 14:18:11编辑过]


QQ: 2 3 2 3 8 7 3 1
2004-12-28 14:14



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




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

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