Problems
Write a program that receives the names, heights, and weights of five people.
First, sort and print the information in alphabetical order by name.
Then, sort and print the information in descending order by weight.
Print the weight rounded to one decimal place.
Each name has a maximum length of 20 characters.
Example
Lee 150 35.6
Kim 155 28.9
Sin 148 32.7
Jung 160 41.2
Park 165 38.7
name
Jung 160 41.2
Kim 155 28.9
Lee 150 35.6
Park 165 38.7
Sin 148 32.7
weight
Jung 160 41.2
Park 165 38.7
Lee 150 35.6
Sin 148 32.7
Kim 155 28.9
Source
자기주도C언어프로그래밍