C语言实验作业

时间:2018-07-12 09:56:34
【文件属性】:
文件名称:C语言实验作业
文件大小:5KB
文件格式:7Z
更新时间:2018-07-12 09:56:34
write a program that 1. Write a program that reads ten numbers supplied by the user into a single subscripted array, and then prints out the average of them. 2. Write a program that reads ten numbers supplied by the user into a 2 by 5 array, and then prints out the maximum and minimum values held in: (a) each row (2 rows) (b) the whole array 3.Use a single-subscripted array to solve the following problem. Read in 20 numbers, each of which is between 10 and 100, inclusive. As each number is read, print it only if it is not a duplicate of a number already read. Prepare for the “worst case” in which all 20 numbers are different. Use the smallest possible array to solve this problem.
【文件预览】:
2988_EX08
----E8-1.o(860B)
----E8-1.exe(6KB)
----E8-3.o(774B)
----E8-2.exe(6KB)
----E8-3.cpp(411B)
----E8-1.cpp(448B)
----E8-2.o(1KB)
----E8-2.cpp(1KB)
----E8-3.exe(6KB)

网友评论