Can this be written in a pseudococe as well the numbers are like this 8 7 6
5 4 3
2 1 0
Can this be written in a pseudococe as well the numbers are like this 8 7 6
5 4 3
2 1 0
int [][]data = {
{
8,7,6
},
{
5,4,3
},
{
2,1,0
}
};
for(int [] row: data) {
for(int item: row) {
System.out.print(item + " ");
}
System.out.println("\n");
}