Search:

Type: Posts; User: felicityxiv

Search: Search took 0.00 seconds.

  1. Replies
    7
    Views
    3,355

    i'm doing it on unix.. i think it might be...

    i'm doing it on unix..
    i think it might be unix.. or something.. i dunno cuz i submitted the home work on the website and it works.. but my compiler still returns the wrong answer.. hm

    either...
  2. Replies
    7
    Views
    3,355

    yes to everything u asked and oddly enough -...

    yes to everything u asked

    and oddly enough - when i put it to return 12345.. it STILLL returned three, when i typed three in as my first variable.. is there something wrong with my compiler?
    ...
  3. Replies
    7
    Views
    3,355

    i modified it this way- to include what u...

    i modified it this way- to include what u suggested and what he said.. it still is giving me the dingie 3 as the product.. lol.. ARGH! *pulls hair out*


    #include <stdio.h>
    int product(int x,...
  4. Replies
    7
    Views
    3,355

    thank you for your suggestion.. but even with it-...

    thank you for your suggestion.. but even with it- the return was still the first number i put in..

    and here's what my professor suggested- i'm not sure why... but:

    b) do not return inside...
  5. Replies
    7
    Views
    3,355

    simple for loop function question

    ok, so i compiled this program- it has no errors.. but it keeps returning the first number i put in as a variable..
    the assignment was to write a for loop that returns the product (number times a...
Results 1 to 5 of 5