文件名称:C2
介绍说明--下载内容均来自于网络,请自行研究使用
1) 定义一个数组stu[10]存放10个学生的成绩,从键盘输入数据,要求用指针实现
2) 将数组stu[10]的内容输出到屏幕上,要求用指针实现
3) 将成绩数组按照从高到低进行排序,要求用指针实现
4) 将第三步内容放在函数中实现,在主函数中调用实现排序,用指针实现,输出排序后的成绩单
5) 采用指针方法,输入字符串“student score ”,复制该字符串并输出(复制字符串采用库函数或用户自定义函数)-1) define an array stu [10] to store 10 student achievement data from the keyboard input required to achieve pointer 2) the array stu [10] The contents of the output to the screen, asked to use the pointer to realize 3) in accordance with the results array sort from high to low, with the target to achieve the requirements 4) The third step is to realize content on function call in order to achieve the main function, with the target to achieve, transcr ipts output sorted 5) using the pointer method of input characters string " student score" , copy the string and output (copy the string using the library function or user-defined functions)
2) 将数组stu[10]的内容输出到屏幕上,要求用指针实现
3) 将成绩数组按照从高到低进行排序,要求用指针实现
4) 将第三步内容放在函数中实现,在主函数中调用实现排序,用指针实现,输出排序后的成绩单
5) 采用指针方法,输入字符串“student score ”,复制该字符串并输出(复制字符串采用库函数或用户自定义函数)-1) define an array stu [10] to store 10 student achievement data from the keyboard input required to achieve pointer 2) the array stu [10] The contents of the output to the screen, asked to use the pointer to realize 3) in accordance with the results array sort from high to low, with the target to achieve the requirements 4) The third step is to realize content on function call in order to achieve the main function, with the target to achieve, transcr ipts output sorted 5) using the pointer method of input characters string " student score" , copy the string and output (copy the string using the library function or user-defined functions)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
C2.txt