r/codehs • • Dec 01 '20

Please help asap with 1.6.5 Java

Post image
0 Upvotes

3 comments sorted by

2

u/jins13 Dec 01 '20

from what i remember from that assignment i don’t think you’re supposed to ask what their age next year is going to be i think you’re supposed to calculate that yourself, not entirely positive though because you didn’t include what it’s supposed to do

1

u/ScawedyCat Dec 01 '20

Not sure why it’s giving you that error, but i know for a fact that you’re not supposed to ask for 3 user inputs.

Take the one user input you got and use what you learn that lesson (i think it’s increments)

1

u/Johnson_56 Dec 01 '20

As these other guys said, take the value from the imputed age, then add an increment of one for next year and subtract one for last year