Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
2darray
//'main' method must be in a class 'Rextester'. //Compiler version 1.8.0_72 import java.util.*; import java.lang.*; class Rextester { public static void main(String args[]) { String[][] shit = new String[10][10]; for(int i = 0; i<shit.length; i++) { for(int f = 0; f<shit[i].length; f++) { shit[i][f] = i + "-" +f; } } for(int i = 0; i<shit.length; i++) { for(int f = 0; f<shit[i].length; f++) { System.out.print("| " + shit[i][f] + " "); } System.out.println("|"); } } }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
program
exp 1
static
Basic Matrix
Roberto02
2
binary square root
test1
Number to Words (Accenture)
2c
Please log in to post a comment.