This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
If I change line 16 to next(), i get the following example:
4.0 and so on
I've taken a look around, but not really finding the solution. I know I am probably missing something simple and I'm probably going to slap my forehead once the mistake is revealed, but what am I missing, doing wrong?
Joined: Feb 22, 2014
I feel dumb!
Solution was simply adding one line to advance to next line and fixing a small error in the while loop.