Question: 2. C++ data structures algorithms. Please follow ALL instructions and write your own code Give sample output too. Thanks Object orientated Programming or Procedural Programming
Object orientated Programming or Procedural Programming are ok. To receive full credit, programmers must apply coding conventions for code block indentation, comments describing methods/classes, white space between code blocks, and variable/method/class naming conventions Hard Code a Hash Map that stores has doubles as values and integers as keys that will hold 100 key,value pairs. For this example create unique key values (Do not use map class from STD library.) Create an iterator that will allow the program to return the key,value pairs. Fill the HashMap with 20 values and output them to the screen. Attach Snipping Photos of source code and output below
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
