Search:

Type: Posts; User: akahizzle

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    1,077

    I really do not know how to modify month. I know...

    I really do not know how to modify month. I know that this is extremely basic, but im extremely new to programming. how do I modify the variable so that the loop can exit?
  2. Replies
    6
    Views
    1,077

    ok, so I revised it some, and used a while...

    ok, so I revised it some, and used a while statement instead of a for.


    int getMonth()
    {
    int month;
    cout << "Enter a month number: ";
    cin >> month;
    while ( month < 1 || month >...
  3. Replies
    6
    Views
    1,077

    function loop help

    I'm writing a calendar program and I need help with a function called getMonth().

    It's supposed to return a single value as the output: the month number that the user entered. It also ensures...
  4. Thread: loop help

    by akahizzle
    Replies
    3
    Views
    3,128

    can you walk me through that please?

    can you walk me through that please?
  5. Thread: loop help

    by akahizzle
    Replies
    3
    Views
    3,128

    loop help

    So I have to write a function to determine the number of days that have passed since 1/1/1753 and whatever target year the user inputs. I've already included the algorithm to determine if a year is a...
Results 1 to 5 of 5