Object Oriented Programming Laboratory
(OOP) 2020 - 2021
π»π»
Click here for Syllabus
πππ
Get OOP Notes for all Units here :
πππ
All Programs with Solutions :
Group A
Group B
Group C
2 Write a program in C++ to use map associative container. The keys will be the names of states, and the values will be the populations of the states. When the program runs, the user is prompted to type the name of a state. The program then looks in the map, using the state name as an index, and returns the population of the state.
No comments:
Post a Comment