The array has to display 1-10 i mean rather than 0-9
Add +1 to counter when printing
zeroliken
Nearly a Posting Virtuoso
1,346 posts since Nov 2011
Reputation Points: 214
Solved Threads: 205
Skill Endorsements: 14
no, I meant at those printf statements only
zeroliken
Nearly a Posting Virtuoso
1,346 posts since Nov 2011
Reputation Points: 214
Solved Threads: 205
Skill Endorsements: 14
I meant like this:
System.out.printf("%d\t\t%.2f\n",counter + 1, wages[counter]);
and next time wrap your code between
tags so I can tell exactly which line I needed to point out
zeroliken
Nearly a Posting Virtuoso
1,346 posts since Nov 2011
Reputation Points: 214
Solved Threads: 205
Skill Endorsements: 14
Question Answered as of 1 Year Ago by
zeroliken