X1127: Adding to Maps - Days and Rain

The following Map should have 7 entries, with a string key for every day of the week. Each value should be a double that represents the number of inches of rainfall that occured on that day of the week.

However, someone forgot to add an entry for Friday when it didn't rain at all (meaning 0 inches of rain). Add an entry for this forgotten day to the given map, and then return it.

Your Answer:

Reset

Practice a different Java exercise

Feedback

Your feedback will appear here when you check your answer.