Search:

Type: Posts; User: JavaPF

Search: Search took 0.18 seconds.

  1. Replies
    6
    Views
    6,724

    [SOLVED] Re: CoinCounter with scanner class.

    Always glad to help! Good luck with the rest of your project.
  2. Replies
    6
    Views
    6,724

    [SOLVED] Re: CoinCounter with scanner class.

    Glad I could help!

    There was no real reason why I named that integer variable 'myInt'. You can call a variable pretty much what ever you want. I normally try to make the name descriptive so I can...
  3. Replies
    6
    Views
    6,724

    [SOLVED] Re: CoinCounter with scanner class.

    Hey coccoster,

    I have just added the functionality to allow you to display the number of coins needed in your code.



    import java.util.*;

    public class CoinCounter {
  4. Replies
    6
    Views
    6,724

    [SOLVED] Re: CoinCounter with scanner class.

    Hello coccoster and welcome to the Java programming forums :)

    There are some missing semicolons ( ; ) in your code above.

    Have you been able to compile it?

    Your code seems to be working...
Results 1 to 4 of 4