Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
rd dap da
import java.util.Random; class Rextester{ public static void main(String args[]) { random( 2 ); } public static void random(int n){ Random rd = new Random(); char []cot = {'A','B','C','D','E'}; int i = 0; while(i++ < n){ char x = cot[rd.nextInt(5)]; int y = rd.nextInt(5)+1; System.out.println(""+x+y); } } }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Vikas
x by stars
java palindrome check
CRUD vehicules
OBF-7 PR
2darray
Kochergina_4
Shortest distance between words
Magic No.
update
Please log in to post a comment.