subject

The purpose of this problem is to write some small functions and practice passing things around amoung functions. 1) the main function shall ask the user to enter three numbers and read the three numbers. 2) write a function named findsum that takes three numbers as arguments and returns their sum. the main function shall call this function. 3) write a function named findaverage that takes the sum and the number of numbers and returns the average. the main function shall call this function. 4) write a function named findsmallest that takes the three numbers and returns the smallest value. the main function shall call this function. 5) the main function shall print the results in the following format, with two decimal positions and the decimal points aligned: results: first number 17.23 second number 3.98 third number 22.32 total 43.53 average 14.51 smallest 3.98 test the program twice with the following two sets of numbers: 37.144 2.4144 19 4.23 5.78 6.21

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 19:10
How might the success of your campaign be affected if you haven’t carefully completed all field data or if you accidentally insert the wrong merge field in the document?
Answers: 1
question
Computers and Technology, 23.06.2019 06:00
How can a user delete a drawing object
Answers: 1
question
Computers and Technology, 24.06.2019 13:00
Your mom wants to purchase a laptop computer. she said she wants her new computer to be able to play her dvds so she can listen to music and wants to know what type of optical drives will play her disk. which type of drive should she look for?
Answers: 1
question
Computers and Technology, 24.06.2019 17:00
Following are uses of spreadsheets. for each use, choose whether the use is a business use, consumer use, or student use. family budget: sales data: recording research data for science class:
Answers: 2
You know the right answer?
The purpose of this problem is to write some small functions and practice passing things around amou...
Questions
question
Mathematics, 07.07.2020 15:01
Questions on the website: 13722363