Welcome to Online IDE!! Happy Coding :) ***************ROUND TO NEAREST: ************: 40 Original population: [Nice, 150] [Abu Dhabi, 23] [Naples, 301] [Vatican City, 750] [London, 299] [Birmingham, 40] Processing population for: Nice(150) Processing the small portion: 10 This is large portion: 140 Large portion population is in this sequence: 20, 60, 100 ..... Population: (rounded UP) 150=> 160 (to nearest 40) Processing population for: Abu Dhabi(23) Processing the small portion: 3 This is large portion: 20 Large portion population is in this sequence: 20, 60, 100 ..... Population: (rounded UP) 23=> 40 (to nearest 40) Processing population for: Naples(301) Processing the small portion: 1 This is large portion: 300 Large portion population is in this sequence: 20, 60, 100 ..... Population: (rounded UP) 301=> 320 (to nearest 40) Processing population for: Vatican City(750) Processing the small portion: 10 This is large portion: 740 Large portion population is in this sequence: 20, 60, 100 ..... Population: (rounded UP) 750=> 760 (to nearest 40) Processing population for: London(299) Processing the small portion: 19 This is large portion: 280 Small portion round downwards: 19=> 0 Population: (rounded DOWN) 299=> 280 (to nearest 40) Processing population for: Birmingham(40) Processing the small portion: 0 This is large portion: 40 Population is exactly divisible by: 40 Population: (rounded NONE) 40=> 40 (to nearest 40) Population rounded to nearest 40 [Nice, 160] [Abu Dhabi, 40] [Naples, 320] [Vatican City, 760] [London, 280] [Birmingham, 40] ** Process exited - Return Code: 0 **