Search:

Type: Posts; User: Reegan777

Search: Search took 0.46 seconds.

  1. Replies
    15
    Views
    485

    Re: Homework - Calendar Assignment

    The first two variables that you mentioned were necessary, when I altered them the problem worsened.

    Nothing that I'm trying is helping to correct the issue. Do you have any suggested fixed?
  2. Replies
    15
    Views
    485

    Re: Homework - Calendar Assignment

    I've messed with the code for quite a while, I can't seem to get it to work correctly without pushing all of the other dates onto a new line.
  3. Replies
    15
    Views
    485

    Re: Homework - Calendar Assignment

    This code gets the variable that assigns the day of the first of January


    startdaystr = JOptionPane.showInputDialog("What is the day of January 1? (S-1 M-2 T-3 W-4 T-5 F-6 S-7)");
    ...
  4. Replies
    15
    Views
    485

    Re: Homework - Calendar Assignment

    January 1st of this year lands on a Tuesday, yet the program assigns it to Wednesday and it throws off the whole calendar.
  5. Replies
    15
    Views
    485

    Re: Homework - Calendar Assignment

    import javax.swing.JOptionPane;

    public class Assignment4Test
    {
    public static void display()
    { System.out.println(" S M T W T F S");
    System.out.println("---------------------");...
  6. Replies
    15
    Views
    485

    Re: Homework - Calendar Assignment

    2036
    I uploaded a picture, the formatting was really messed up when copy/pasting it.
  7. Replies
    15
    Views
    485

    Re: Homework - Calendar Assignment

    It's basically just supposed to print out a calendar, however for some reason the 1st of january always comes out one day early, which throws off the whole calendar.
  8. Replies
    15
    Views
    485

    Homework - Calendar Assignment

    Hi, I'm stuck on this project. This is the instructions:

    CMPS 135 Programming Assignment 4

    Problem:
    Write a Java program to print out the calendar of any year provided that the day of January...
Results 1 to 8 of 8