文件名称: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
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.