Search:

Type: Posts; User: chocha7

Search: Search took 0.01 seconds.

  1. Replies
    10
    Views
    2,961

    ahh yes how dum of me...0 % 5 is zero lol....yup...

    ahh yes how dum of me...0 % 5 is zero lol....yup the first one does it...thanx fo the help
  2. Replies
    10
    Views
    2,961

    yes it does but the first 1 is on top n then the...

    yes it does but the first 1 is on top n then the other 1 starts off the output correctly
  3. Replies
    10
    Views
    2,961

    ok here is what i got : for (int i = 0; i < 30;...

    ok here is what i got :
    for (int i = 0; i < 30; i++)
    {
    cout << setw(10) << fib[i];
    if ( i % 5 == 0)
    cout << endl;
    }
    cout << endl;
  4. Replies
    10
    Views
    2,961

    That's exactly what i was thinking....but n e...

    That's exactly what i was thinking....but n e suggestions on where to start?
  5. Replies
    10
    Views
    2,961

    Fibonacci sequence output statement

    HI i need help writing my output statement for fibonacci sequence so far i have how to get the sequence and i must output all array elements with 5 elements per line and in a field width of 10....can...
  6. Replies
    7
    Views
    3,217

    ok so now that i got that...how bout the function...

    ok so now that i got that...how bout the function to output the body of a calendar. something like?
  7. Replies
    7
    Views
    3,217

    C++ calendar

    So if i did:
    int calcDay(int month, int year)
    {
    int day=1;
    for(y=1900;y< year; y++)
    {
    if (isLeap(year))
    day = day + 366;
    else
    ...
  8. Replies
    7
    Views
    3,217

    C++ calendar HELP!!!

    HI i just started learning C++ in the past month. I need help on writing a functino to calculate the first day of the month from the input year. I have no idea where to start, this counter-controlled...
Results 1 to 8 of 8