0
Why am I getting an error saying semi colon is expected?
int[] level = {0,1,2,3,4,5,6,7,8,9,10}; int[] charHpArray = {1, 5,10,15,20,25,30,35,40,45,50}; (Error here) for (int i : level) { int j = charHpArray[i]; System.out.println("wowowow"); }
1 Answer
0
look at my code , it runs correctly
https://code.sololearn.com/cYU4Sls0F96c/?ref=app