Search:

Type: Posts; User: mozyman

Search: Search took 0.25 seconds.

  1. Replies
    4
    Views
    1,785

    Re: if else statements

    Ahh finally got it to work :) wasn't overly sure of how to call isLeapYear, got it through a bit of trial and error though.

    Thanks for your help.
    I dare say i'll be on here again sometime.
  2. Replies
    4
    Views
    1,785

    Re: if else statements

    I'm not overly sure to be honest :/

    Here's the methods that were already set, I'm just not sure how to use them...


    public boolean isDivisibleBy(int x, int y)
    {
    boolean...
  3. Replies
    4
    Views
    1,785

    if else statements

    I need to be able to input two numbers, corresponding to a month and year, and have it return the number of days in that month. It all works except for when it gets to february and whether its a leap...
Results 1 to 3 of 3