Question: in C, please include your code. Sequence Create a program to display the first n values of a sequence and their average. The sequence should

 in C, please include your code. Sequence Create a program to in C, please include your code.

Sequence Create a program to display the first n values of a sequence and their average. The sequence should follow the following rules: no 4, ni-7, n-2n1 +32. So the sequence begins: 4, 7,26, 73,224,. The program must have the following features An array to hold the values A function: double mean int array], int size) ; which accepts an array of integers and returns their mean A function : void generate-sequence(int array[], int size) ; which generates the values in the sequence . Must request the number of values to display from the user Must print the mean following the table Must print a table of those numbers with a proper heading Follow and document the entire process: restate the problem, identify input and output, write the algorithm, test the algorithm by hand, write the program, test the program. For this assignment, the serial output should be included as a verification of your test

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!