当前位置: 技术问答>java相关
一道类似于JAVA程序员认证的试题,请大家来看看
来源: 互联网 发布时间:2015-05-18
本文导语: Declare 2*2 integer array and substitute 1,2,3 and 4 to each array. Write a program to display sum of each array by using fo sentence. | int i; int sum = 0; int it[][] = {{1,2},{3,4}}; for(i=0;i
Declare 2*2 integer array and substitute 1,2,3 and 4 to each array.
Write a program to display sum of each array by using fo sentence.
Write a program to display sum of each array by using fo sentence.
|
int i;
int sum = 0;
int it[][] = {{1,2},{3,4}};
for(i=0;i
int sum = 0;
int it[][] = {{1,2},{3,4}};
for(i=0;i