Write a program

Write a program that reads 10 numbers from the screen, calculates the mean (average), finds the minimum and maximum values, and outputs them to the screen. You have to use array s to solve this question. Write a program to swap the contents of two integer arrays of six elements. The output of your program should clearly show original array contents and the result. For example, the output might look as follows: Contents of array A before swap: 1 2 3 4 5 6 Contents of array B before swap: 7 8 9 10 11 12 Contents of array A after swap: 7891011 12 Contents of array B after swap: 1 2 3 4 5 6 Note that your program not only just outputs as above, but actually swap the contents of two integer arrays. Also, you can initialize the two arrays directly: array A with 1 ~ 6 and array B with 7 ~ 12. Submitting the homework: Students should finish ALL the assignments INDIVIDUALLY! Follow die Assignment submission guidelines in the Syllabus, except paper: submission guideline. DO NOT submit C source code files, like program1.c, but put all the answers in one document file.