By DePaul Dimadis
Choose your prefered Language: greek_flag uk_flag

A positive integer is called deficient, perfect or abundant if the adder of its separators except for the same number is respectively smaller, equal or greater than this number e.g. 6 is a perfect number because 6 = 1 + 2 + 3 and the numbers 1,2,3 are its divisors. Write an algorithm for displaying the corresponding word for an area of 100 consecutive integer numbers (e.g., 200 to 300, 490 to 590, 8120 to 8130). The boundaries of the area will be imported from the keyboard.