Search:

Type: Posts; User: bgroenks96

Search: Search took 0.11 seconds.

  1. Replies
    5
    Views
    1,603

    Re: need help with array

    import java.util.Scanner;

    public class Main
    {

    public static void main(String[] args)
    {
    boolean success = false;
    int [] days = {31, 28, 31, 30, 31, 30, 31, 31, 30,...
  2. Replies
    5
    Views
    1,603

    Re: need help with array

    Your problem is that the FOR loop is going through and printing lines for every one of the months. It then prints the correct line only for the matching month (with a bunch of could not find month...
  3. Replies
    5
    Views
    1,603

    Re: need help with array

    For future reference, use the CODE tags and the java highlighting tags. Check out the new people thread if you want to know how to do that.

    I will take another look at your code now that I have...
Results 1 to 3 of 3