解题思路:
注意事项:
参考代码:
import java.util.Scanner;
public class Main {
public static void print(int arry[]) {
int i=9;
do{
System.out.print(arry[i]+" ");
i--;
}while(i>-1);
}
public static void main(String[] args) {
Scanner sc =new Scanner(System.in);
int arry[]=new int[10];
for(int i=0;i<10;i++) {
arry[i]=sc.nextInt();
}
print(arry);
}
}
0.0分
0 人评分
C语言程序设计教程(第三版)课后习题6.7 (C++代码)浏览:1119 |
C二级辅导-计负均正 (C语言代码)浏览:593 |
母牛的故事 (C语言代码)浏览:1300 |
C语言程序设计教程(第三版)课后习题3.7 (C++代码)浏览:997 |
矩形面积交 (C语言代码)浏览:1514 |
C语言程序设计教程(第三版)课后习题6.1 (C语言代码)浏览:452 |
【明明的随机数】 (C++代码)浏览:781 |
C语言程序设计教程(第三版)课后习题11.3 (C语言代码)浏览:1036 |
C语言程序设计教程(第三版)课后习题8.6 (C语言代码)浏览:599 |
WU-图形输出 (C++代码)浏览:802 |