Define a structure named census with the following three members:- A character array city [] to store
Fantastic news! We've Found the answer you've been seeking!
Question:
Define a structure named census with the following three members:- A character array city [] to store names.- A long integer to store the population of city.- A float member to store literacy level.Write a program to do the following:- To read the details for 5 cities randomly using an array variable.- To sort the list alphabetically.- To sort the list based on literacy level.- To sort the list based on population.- To display the sorted lists.
Posted Date: