- 2
P declare a class city having highest population accept these Data for 5 cities and display the names of city having highest pop
3 Antworten
+ 1
WRITE A PROGRAM TO DECLARE A CLASS ‘CITY’ HAVING
DATA MEMBERS AS NAME & POPULATION. ACCEPT THIS
DATA FOR 5 CITIES & DISPLAY THE NAMES OF CITY HAVING
HIGHEST POPULATION.
0
- 4
Please, try to write your own code and if you have problems, please, write again