Re: Java application Hint
Quote:
use both division and remainder to solve it
Write a small test program to use / & % with a number to see what they do.
What does 123 % 10 give?
What does 123 / 10 give?
Using those two operators you can extract the base 10 digits one at a time.
Re: Java application Hint
Quote:
Originally Posted by
Norm
Write a small test program to use / & % with a number to see what they do.
What does 123 % 10 give?
What does 123 / 10 give?
Using those two operators you can extract the base 10 digits one at a time.
got it .
Thanks alot!