Closed alina-lapina closed 1 year ago
The service interface exposes the following methods that have to be implemented by a servant class
i. Return the number of countries that contain atleast ‘citycount’ number of cities where each city has population between ‘minpopulation’ and ‘maxpopulation’. ii. eg:- city count=30, min population= 100,000, max population = 800,000 => result = 30
The service interface exposes the following methods that have to be implemented by a servant class
getNumberofCountries(citycount, minpopulation, maxpopulation)
i. Return the number of countries that contain atleast ‘citycount’ number of cities where each city has population between ‘minpopulation’ and ‘maxpopulation’. ii. eg:- city count=30, min population= 100,000, max population = 800,000 => result = 30
Unit tests