c # end of the exercises

1, input a number of seconds, corresponding to the output of hours, minutes, seconds.

Example: input "4000" (second), and outputs "1 hours 6 minutes 40 seconds."

2, calcd 1-1 / 2 + 1 / 3-1 / 4 + ...- 1/100.

3, write a function, sort of a one-dimensional array. The main function to initialize the array, the function call sequencing, and then outputs the sorted array in the main function.

Extra credit: the elements in a one-dimensional array to complete the add and delete operations.

Example: {1,3,5,2,4,6} for the array a

5 and the input 100, 100 is intended to be inserted in the front 5.

Output 131,005,246

Similar deleted.

Guess you like

Origin www.cnblogs.com/wanjinliu/p/11445001.html