Search:

Type: Posts; User: Norm

Search: Search took 0.08 seconds.

  1. Replies
    15
    Views
    1,803

    Re: Homework - Calendar Assignment

    DId you Consider this: The first day of Sunday means 0 leading spaces

    --- Update ---

    Also posted at Calendar Assignment - Dev Shed
  2. Replies
    15
    Views
    1,803

    Re: Homework - Calendar Assignment

    Look at what value is put in the startday variable and how it is computed, how the loop control variable starts at 1 vs 0 and the loop terminating test uses <= vs <

    Consider this: Sunday means 0...
  3. Replies
    15
    Views
    1,803

    Re: Homework - Calendar Assignment

    Did you play computer with the code to see what it is doing? You know that it prints extra spaces to push the first 1 to the right 1 day. Look at the code to see why.
  4. Replies
    15
    Views
    1,803

    Re: Homework - Calendar Assignment

    How does the program decide what day January 1 is on and use that to do the spacing to put the 1 in the right spot?
  5. Replies
    15
    Views
    1,803

    Re: Homework - Calendar Assignment

    What is the problem?
  6. Replies
    15
    Views
    1,803

    Re: Homework - Calendar Assignment

    Use code tags around the program's output to preserve its formatting.
    Add some comments saying what is wrong with the output.


    What happened to the formatting of the code? All the statements...
  7. Replies
    15
    Views
    1,803

    Re: Homework - Calendar Assignment

    Can you post the contents of the console window from when you execute the program? Add some comments saying what is wrong with the output and show what it should be.


    What happened to the...
  8. Replies
    15
    Views
    1,803

    Re: Homework - Calendar Assignment

    Please explain. Show what the program currently does and add some comments saying what the output should be.

    Please edit your post and wrap your code with code tags:


    <YOUR CODE HERE>

    to...
Results 1 to 8 of 8