subject
Computers and Technology, 18.03.2021 01:20 juana18

Let us build on the solution that we previously created and write a program that takes any number of values as input, and outputs the average, min, and max only if the input values were all numeric Ex If the input is 15 20 0 5 the output is 100.20 Use (1.0f) to format the output of the computed average Define and use in your program the following functions to make your code more modular • convert_str_to_numeric_1int-taken an input string, splits it into tokens, and returns the tokens stored in a list on all tokens were numeric, otherwise, returns an empty list • get_avg-if the input list is not empty and stores only numerical values, returns the average value of the elements, otherwise, returns • get_min if the input list is not empty and stores only numerical values, returns the minimum value in the list otherwise, returns • get_max of the input list is not empty and stores only numerical values, returns the maximum value in the list otherwise, returns None None None Hint. The string method atr. indigit() will help determine if an input string contains only the numbers 0-9 (see the Section on String mathadh

ansver
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 23:30, ansonhunter8891
What are listed in the vertical columns across the top of the event editor? a. file names b. conditions c. check marks d. action types
Answers: 1
image
Computers and Technology, 24.06.2019 07:00, janeliles
Why would a business likely use a java applet - to back up their data files for the business - to create a program that a customer can launch in their web browser - to create music on a powerpoint presentation - to organize files on their company directory
Answers: 3
image
Computers and Technology, 24.06.2019 08:20, bob4059
Evaluate the scenario below and indicate how to handle the matter appropriately. situation: michael received an e-mail from what he thought was his doctor’s office, requesting his social security number. since he had just been in to see his doctor last week, he replied to the e-mail with his social security number.
Answers: 2
image
Computers and Technology, 24.06.2019 10:00, lashaunahard
Each time you save a document, you will need to type in the file type in which it should be saved you can select the save button to save it with the same file name if it has been previously saved you will need to select the location to save the file you will need to use the save as dialog box
Answers: 1
You know the right answer?
Let us build on the solution that we previously created and write a program that takes any number of...

Questions in other subjects: