Functional Programming
The program should include pure functional (i.e. non-I/O) code that performs the followingitems of functionality:i. return a list of the names of all the placesii. return the average rainfall (as a float) for a place given its nameiii. return all place names and their 7-day rainfall figures as a single string which, whenoutput using putStr, […]
