#2d array
6 messages · Page 1 of 1 (latest)
⌛ This post has been reserved for your question.
Hey @distant pawn! Please use
/closeor theClose Postbutton above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
since you ask to enter employee from 1 to 4, and counting array elements starts from 0, you need to decrement the value that user enters: ```java
employee = input.nextInt();
employee--;
and you also need to run the loop correctly. you say you need only take first 2 values of the employee sales (if I got you right). To do that you need to create `for` loop that iterates only 2 times
thank you I got it
If you are finished with your post, please close it.
If you are not, please ignore this message.
Note that you will not be able to send further messages here after this post have been closed but you will be able to create new posts.