187k views
4 votes
Write a function that takes six arguments of floating type (four input arguments and two output arguments). This function will calculate sum and average of the input arguments and storethem in output arguments respectively. Take input arguments from the user in the main function.

User Gehho
by
4.4k points

1 Answer

2 votes

Answer:

Answer:Functions in C+

The integer variable n is the input to the function and it is also called the parameter of the function. If a function is defined after the main() .....

User Brandon Ogle
by
4.6k points