Try Out

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • idle
    New Member
    • Oct 2006
    • 7

    Try Out

    Write a function header for each function below:

    (a) A function named sum_avg() that takes in three floating-point numbers and sends back their sum and average via arguments by reference.

    (b) A function named sum_avg() that takes in three floating-point numbers and sends back their sum with the return statement and their average via argument by reference.
  • Banfa
    Recognized Expert Expert
    • Feb 2006
    • 9067

    #2
    I think you should make an attempt at this yourself.

    Comment

    Working...