package zh.codegym.task.task04.task0433;
/*
看看你将在未来拥有的美元
*/
import java.io.*;
public class Solution {
public static void main(String[] args) throws Exception {
int i=0,j=0;
while( i < 10)
{
while( j < 10)
{
System.out.print("$");
j++;
}
j=0;
System.out.print("\r\n");
i++;
}//在此编写你的代码
}
}
ohhhhhhhhhhhhh
已解决
评论 (2)
- 受欢迎
- 新
- 旧
你必须先登录才能发表评论
liuyingzhao
25 五月 2021, 01:59
int a = 0;
while (a++<=9){
String dollar = "";
int b = 0;
while (b++<=9){
dollar+="$";
}
System.out.println(dollar);
}
0
syan
30 六月 2020, 11:51
int a =0;
while ( a<10) {
a++;
int b = 0;
while (b < 10) {
b++;
System.out.print("$");
}
System.out.println(" ");
} //在此编写你的代码
}
0