package day6
;
public class shuzu1
{
public static void main(String
[] args
)
{
String
[] hua
= {"黑桃","红桃","梅花","方片"};
String
[] dian
= {"A","2","3","4","5","6","7","8","9","10","J","Q","k"};
for(int i
=0; i
<hua
.length
; i
++)
{
for(int j
=0; j
<dian
.length
; j
++)
System
.out
.print(hua
[i
]+dian
[j
]);
System
.out
.println();
}
}
}
转载请注明原文地址:https://tech.qufami.com/read-5208.html