代写program课程作业、代做Python程序作业、Java,c/c++编程语言作业调试

- 首页 >> Database作业
This quiz consists of FIVE questions. The total mark is 50, and it contributes 50% of the final result.
(1) Read 10 numbers (double) from the console using keyboard, print out the average number of
these 10 numbers. (10 marks)
(2) Input your student ID from the console using keyboard, print out the reversed version of your
ID. For example, if your ID is 19722083, the output form should be 38022791. (10 marks)
(3) Read a two-dimensional array of n rows and n columns from the keyboard to check whether the
two-dimensional array is symmetrical. (10 marks)
(4) Define a structure data type called time_struct containing three members: integer hour, integer
minute and integer second. Develop a program that would assign values to the individual members
and display the time in the following form:
16:40:51
Please note that a function should be used to input values to the members and another function to
display the time. (10 marks)
(5) Write a program to find the maximum and minimum number of an array of n integers, note that
pointers should be used. (10 marks)