asking for code

Fill a one-dimensional array with 10 integer random numbers between -2
to 19. Print all numbers in the array in a row, separating each number with a tab (for example, 3 12
1 5 ...) and numbers in red. Calculate the sum of the values ​​of the elements of an array, and display
result with 4 decimal places. Arrange all the numbers in an array in ascending order and print
arranged array.
How much are you willing to pay for the code?

If the answer is non-zero, post this in the Jobs section.
If the answer is zero, then show us an attempt at solving the problem yourself first.
http://www.cplusplus.com/doc/tutorial/
Topic archived. No new replies allowed.