Question: Programming in C Language. Please refer to images for details about assignment. Also attached the text file that program gets numbers from. Blackboard Learn E

 Programming in C Language. Please refer to images for details about

assignment. Also attached the text file that program gets numbers from. Blackboard

Learn E Haven Plus in Linkedin 9 GroupMe Assignment: On the course

website is a file, hu02-data.txt, that contains the data for this assignment.

Programming in C Language. Please refer to images for details about assignment. Also attached the text file that program gets numbers from.

Blackboard Learn E Haven Plus in Linkedin 9 GroupMe Assignment: On the course website is a file, hu02-data.txt, that contains the data for this assignment. Each row of the data file consists of a comma-delimited set of numbers. For each set of numbers, produce the sum, arithmetic mean, variance, and counts of the digit characters. Additional requirements specific to this assignment: 1. The data should be stored in an array of type char* in main), with each row of the data being in its own string. The data should be hard-coded in your program; don't read it from the file. 2. Each string will be passed separately to three different functions: (a) a function that calculates the sum of the numbers in the string (b) a function that calculates the mean and variance of the numbers in the string (c) a function that counts the number of each type of digit character in the s 3. C contains a function, atof O, that when given a string of digit characters returns the value that the digits represent as a double. atof O is found in stdlib. 4. TO find the suin of the numbers in a string, write a function with the following function declaration double f (char* s); where s is a comma-delimited string The function returns the sum of the numbers in the string. You can rename the function and function parameters, but the types and quantity of function parameters should No printing will be performed from this function. be as given. 5. To find the arithmetic mean and sample variance of the numbers in a string, write a function with the following function declaration: void f(char* s, doublex meanPtr, double* varPtr); @what is tpm Gi) P?chols4 9)1320-hm2P- RobertsonGp." Document2 w w

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 Databases Questions!