menu
QAmmunity.org
Login
Register
My account
Edit my Profile
Private messages
My favorites
Register
Ask a Question
Questions
Unanswered
Tags
Categories
Ask a Question
Define an average function that takes 4 arguments, calculates the average of the 4 numbers passed to it, and returns the result back to the caller. Capture the 4 values from the user in main() and pass
asked
Oct 26, 2021
80.9k
views
5
votes
Define an average function that takes 4 arguments, calculates the average of the 4 numbers passed to it, and returns the result back to the caller. Capture the 4 values from the user in main() and pass them to the function average. Call the average function from main. Print the results returned in the main function. Call the average function three more times with three more sets of four numbers and return the results back to the caller. Save the return values in variables in main(). Pass all four return values saved in main() back to the average function as arguments to calculate the average of the averages and return the result to main() which will print the final result ( average of the averages).
Computers and Technology
college
Lorrene
asked
by
Lorrene
4.6k
points
answer
comment
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
4
votes
Answer:
ok so basically 3 x 9 is 278
Step-by-step explanation:
ok so basically 3 x 9 is 278
Yash Makan
answered
Oct 31, 2021
by
Yash Makan
5.6k
points
ask related question
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
Ask a Question
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.
5.6m
questions
7.3m
answers
Other Questions
A new information system is not considered in production until conversion is complete
a. STOP: What is a technology habit you practice today that you now realize will not help you to be successful? Explain why it’s important to STOP doing this right now.
Why might the government censor what its citizens see on the internet?
Flash drives cds external disks are all examples of storage (memory) devices
What is a spreadsheet program? A spreadsheet program is a computerized version of _________
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search QAmmunity.org