With Irvine32. Inc's library to write
Write a complete program, the program:
1. Prompt the user for 10 Numbers,
2. To save these Numbers in a 32-bit integer array,
3. According to the input sequence to print array,
3. Total number and display,
4. Calculating the average of the array and to display it,
5. The members of the array rotating a forward position
Nine times, so the last rotation will be displayed in a reverse order array,
6. After each rotary printing array,
Check the sample run,
The Sample Run:
Both Please enter a number:
2Both Please enter a number: 3
Both Please enter a number: 4
Both Please enter a number: 5
Both Please enter a number: 6
Both Please enter a number: 7
Both Please enter a number: 8
Both Please enter a number: 9
Both Please enter a number: 0
Both Please enter a number: 10
The sum is: 54
The mean is: 5 4/10
The The original array: 2, 3, 4, 5 6 7 8 9 10 0
After a rotation: 10 2, 3, 4, 5 6 7 8 9 0
After a rotation: 10 0, 2, 3, 4, 5 6 7 8 9
After a rotation: 10 0 9 2, 3, 4, 5 6 7 8
After a rotation: 10 0 9 8 2, 3, 4, 5 6 7
After a rotation: 10 0 9 8 2, 3, 4, 5 6 7
After a rotation: 10 0 9 8 July 6 2, 3, 4, 5
After a rotation: 10 0 9 8 July 6 2, 3, 4, 5
After a rotation: 10 0 9 8 2 3 4 5 6 7
After a rotation: 10 0 9 8 7 June 5 4 3 2
Press any key to continue...