Map
Since map is a associative container, we can retrieve the value of an element by using its key. In the example using grades
map, we can access Tem's grade by using the at
method as shown here:
std::cout << grades.at("Tem"); // Prints out Tem's grade
The value retrieved using at
can also be modified like this:
grades.at("Tem") = 100; // Tem now has 100!!!! :3
Your task is to change Goku's power level to 27000 in line 24.