c++ Below, write the code of the program that calls the desired functions in the main function and performs the desired operations. a) random (random number range should be set to be in the range of 5-15) 10 an integer with an element produces numbers and transfers them to an array called array A and displays them enter a function that prints. b) then this sequence takes the arithmetic mean of the elements of the sequence A, round the found average value to the nearest large integer and return it to variable A. enter a function that assigns and prints the variable A on the screen. c) then write a function that finds the factorial of the variable A value and assigns it to factorial A and prints it on the screen
c++
Below, write the code of the program that calls the desired functions in the main function and performs the desired operations.
a) random (random number range should be set to be in the range of 5-15) 10 an integer with an element produces numbers and transfers them to an array called array A and displays them enter a function that prints.
b) then this sequence takes the arithmetic mean of the elements of the sequence A,
round the found average value to the nearest large integer and return it to variable A.
enter a function that assigns and prints the variable A on the screen.
c) then write a function that finds the factorial of the variable A value and assigns it to factorial A and prints it on the screen
Step by step
Solved in 4 steps with 2 images