文件名称:C
介绍说明--下载内容均来自于网络,请自行研究使用
编写程序,登录幼儿园200个小朋友的数据:姓名、性别、年龄、身高、体重、出生日期,分别按年龄排序后输出。 要求:(1)登录数据用函数input()(2)按身高排序用函数sort()(3)输出排序结果用函数output(),输出格式为:幼儿园小朋友一览(依身高排序)=================================================== 姓名 性别 年龄 身高 出生日期-Program, the login data of 200 kindergarten: name, gender, age, height, weight, date of birth, were sorted output according to age.
Requirements:
(1) the input data function ()
(2) according to the height of sorting function to sort ()
(3) the output ranking results output function (), the output format is:
In kindergarten children (in height)
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
The name Gender, age, height of date of birth
Requirements:
(1) the input data function ()
(2) according to the height of sorting function to sort ()
(3) the output ranking results output function (), the output format is:
In kindergarten children (in height)
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
The name Gender, age, height of date of birth
(系统自动生成,下载前可以参看下载内容)
下载文件列表
C.txt