id/email
password
forgot password
about | help | done | prefs | create account
JavaBat java practice problems

tensDigit

Given a number that is 10 or more, compute the 10's digit for the number.

tensDigit(25) → 2
tensDigit(73) → 7
tensDigit(1984) → 8

...Save, Compile, Run         

See Also: Example Code Java help: If Boolean Logic | Strings | While and For Loops | Arrays and Loops

Forget It! -- delete my code for this problem 120

Copyright Nick Parlante 2006-09 - privacy