< state id="georgia">
< scode>GA</scode>
< sname>Georgia</sname>
< capital idref="atlanta"/>
< cities-in idref="atlanta"/>
< cities-in idref="columbus"/>
< cities-in idref="savannah"/>
< cities-in idref="macon"/>
< nickname>Peach State</nickname>
< population>6478216</population>
</state>
< city id="atlanta">
< ccode>ATL</ccode>
< cname>Atlanta</cname>
< state-of idref="georgia"/>
</city>
< city id="columbus">
< ccode>CLB</ccode>
< cname>Columbus</cname>
< state-of idref="georgia"/>
</city>
< city id="savannah">
< ccode>SVN</ccode>
< cname>Savannah</cname>
< state-of idref="georgia"/>
</city>
< city id="macon">
< ccode>MCN</ccode>
< cname>Macon</cname>
< state-of idref="georgia"/>
</city>
The states are assigned as follows:
MAIN MENU
(1) Given the first letter of a state, print all states along
with their capital city names.
(2) Print the top 5 populated states in descending order of
population.
(3) Given a state name, list all information about that state,
inlcuding capital city, population, state nickname, major
cities, etc. The report should be formatted nicely.
(4) Print an alphabetical count of number of states for each letter of
the English alphabet. (Nicely formatted; 4 letter counts to a line).
The count is the number of states whose names begin with the particular
letter.
(5) Quit
The program should use the Lore/C++ API to get the data from the
Lore database.