Question: 1 . Write a main function which will forward four values ( 2 3 , 4 5 , 1 0 6 , 2 0 9

1. Write a main function which will forward four values (23,45,106,209) to a second
function.
2. The second function will find the average of those four numbers and send back to the
main function.
3. The second function will call a third function to add those four numbers.
4. The third function will add those four numbers and return the sum to the second function.
5. The second function will receive the sum from the third function and find the average and
send the average value to the main function.
6. The main function will receive the average value from the second function and multiply
the value by 8 and store it to s7

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!