Search:

Type: Posts; User: aussiemcgr

Search: Search took 0.19 seconds.

  1. Replies
    6
    Views
    1,233

    Re: Stuck on this code!

    I can't see the picture, it is too small. Keep in mind that when calculating the days of the month, you have to consider that some months have 30 days and some have 31 days, and some years, February...
  2. Replies
    6
    Views
    1,233

    Re: Stuck on this code!

    The if/else statements would be the basic way of doing it. However, if you wanted to do it while also embracing the already provided java libraries, you could say:

    day = ? //day variable provided...
  3. Replies
    6
    Views
    1,233

    Re: Stuck on this code!

    Try to be more descriptive in the future with what your problem is, and wrap your code in code tags. I can tell your problem is with this part of your code:

    private int month;
    private int day;
    ...
Results 1 to 3 of 3