00问答网
所有问题
jsp页面,存储一个3*3*3的数组,怎么写.
如题所述
举报该问题
其他回答
第1个回答 2014-04-14
定义一个二维数组,例子String[][] array = new String[3][3];
相似回答
编写
一个jsp
程序,通过for循环,在
网页
中输出
一个3
行3列的表格
答:
system.out.println("");for(i=0;i<
3
;i++){ system.out.println("");for(j=0;j<3;j++){ system.out.println("第"+i+"行第"+j+"列");} system.out.println("");} system.out.println("");
C语言,如何在子函数中写
一个3*3
二维
数组,
给主函数调用!!
答:
include<stdio.h>#include<malloc.h>int ** sr(void){ int i,j; int *memory=(int *)malloc(sizeof(int)*9);//申请完整的连续内存地址
3*3
int **arr=(int **)malloc(sizeof(int*)*3);//申请二维
数组
行指针数组(也就是二维数组) if(!memory || !arr){ printf(...
c语言中怎样输入
一个3*3的
二维
数组存储
到文件中在文件中按顺序输出二...
答:
include<stdio.h>#include #define N
3
//N定义数组的大小void ShellSort(int a[],int n)//直接插入排序:对含有n个整数
的数组
a[]进行从小到大排序{ int i,j,t; for(i=
1
;i<n;i++) for(j=i-1;j>=0&&a[j]>a[j+1];j--) { t=a[j]; a[j]=a[j+1]...
C语言,如何在子函数中写
一个3*3
二维
数组,
给主函数调用!!
答:
include<stdio.h>#include<malloc.h>int ** sr(void){ int i,j; int *memory=(int *)malloc(sizeof(int)*9);//申请完整的连续内存地址
3*3
int **arr=(int **)malloc(sizeof(int*)*3);//申请二维
数组
行指针数组(也就是二维数组) if(!memory || !arr){ printf(...
大家正在搜
jsp页面跳转另一个jsp
在jsp中输出一个链表数组
jsp如何将两个数组加一起
jsp解析json数组
java怎么遍历数组
jsp页面的基本构成元素
javajsp实现页面跳转
.jsp怎么打开
jsp数组