Search:

Type: Posts; User: Chanakya

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    7,426

    pass the parameters as a refrence. void...

    pass the parameters as a refrence.
    void unitconversion (double &lengthme, double &lengthcent);
    remove the return statement in unitconversion
    don't cout<<unitoutput(lengthme, lengthcent);
    ...
  2. Replies
    4
    Views
    7,426

    Errors: 1. You haven't called the unitconversion...

    Errors:
    1. You haven't called the unitconversion function.
    2. A function can return only one value at time, you might pass the parameters as a reference.
    3. don't cout<<unitoutput(lengthme,...
Results 1 to 2 of 2