what is problem?
import java.util.Random; public class Game { public static void main(String[] args) { int k = 2,sum = 0,i; Random ran = new Random(); String[] psh=new String [k]; String[] shekl=new String[6]; shekl[0]="đș"; shekl[1]="đ”"; shekl[2]="â«"; shekl[3]="đŽ"; shekl[4]="đ¶"; shekl[5]="đ·"; int and[]=new int[k]; int msh[]=new int[k]; for(i=0;i<k;i++){ int and[]=ran.nextInt(4); int msh[]=ran.nextInt(8)-4; System.out.print(shekl[and[i]]+"="+msh[i]+ "\t" ); } for(i=0;i<100;i++){ System.out.println(); } for(i=0;i<k;i++){ psh[i]=shekl[and[i]]; } int x=ran.nextInt(k); System.out.print(psh[x]); i--; sum = sum + msh[i]; } }