Only for the rich

  • 5
Our customer is the Monte Vegas Casino on Planet Diabloblo. Extremely arrogant guys, but they pay well. They've asked us to make an automatic mailing list for potential customers. Don't worry. The junior programmer (you) has been assigned a simple task: create a (last name, salary) dictionary and remove any entries for people whose salary is less than 500 credits.
You can't complete this task, because you're not signed in.
Comments(3)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
Mihai Daniel BoneLevel 9 , Bucharest
15 March, 22:44
After hours of trying i got it : use Iterator it and to remove just use it.remove();
Geoff GreenLevel 10 , Calgary
11 February, 18:07
Hint: https://dzone.com/articles/removing-elements-from-a-map-in-java
JanuszLevel 11 , Radomsko
23 August 2019, 08:07
What is wrong?