sum öf its proper divišorS A perfect num (or factors). The smallest perfect number is 6, which is the sum of 1, 2, and 3. Other perfect numbers are 28, 496, and 8,128. An abundant number (or excessive number, or efficient number) is a number for which the sum of its proper divisors (or factors) is greater than the number itself. The integer 12 is the first abundant number. Its proper divisors are 1, 2, 3, 4 and 6 for a total of 16. A deficient number (or defective number) is a number for which the sum of its proper divisors (or factors) is less than the number itself. The integer 9 is an example of a deficient number for which the sum of its proper divisors (or factors) is for a total of 4 i.e., 1 + 3. Based on the information provided, create a program that will generate the sample screen output below: a positive integer that is equal to Enter how many number(s) to be checked: 28 Remarks Deficient Number Sum of Factors 1 1 Deficient Deficient Deficient Deficient 1 6 1 Perfect Deficient 7 4 Deficient Deficient 10 11 Deficient Deficient

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
100%

In C# thanks!

13
1
Deficient
Deficient
Deficient
10
15
9
Deficient
Deficient
16
15
17
1
18
21
Abundant
19
1
Deficient
20
22
Abundant
Deficient
Deficient
21
11
22
14
23
1
Deficient
24
36
Abundant
Deficient
Deficient
25
6
26
16
Deficient
Perfect
27
13
28
28
--[Summary]-
Deficient number(s): 22
Abundant number(s): 4
Perfect number(s):
2
----
Total number(s):
28
3 45
Transcribed Image Text:13 1 Deficient Deficient Deficient 10 15 9 Deficient Deficient 16 15 17 1 18 21 Abundant 19 1 Deficient 20 22 Abundant Deficient Deficient 21 11 22 14 23 1 Deficient 24 36 Abundant Deficient Deficient 25 6 26 16 Deficient Perfect 27 13 28 28 --[Summary]- Deficient number(s): 22 Abundant number(s): 4 Perfect number(s): 2 ---- Total number(s): 28 3 45
Task: A perfect number is a positive integer that is equal to the sum of its proper divisors
(or factors). The smallest perfect number is 6, which is the sum of 1, 2, and 3. Other
perfect numbers are 28, 496, and 8,128. An abundant number (or excessive number, or
efficient number) is a number for which the sum of its proper divisors (or factors) is
greater than the number itself. The integer 12 is the first abundant number. Its proper
divisors are 1, 2, 3, 4 and 6 for a total of 16. A deficient number (or defective number) is a
number for which the sum of its proper divisors (or factors) is less than the number itself.
The integer 9 is an example of a deficient number for which the sum of its proper divisors
(or factors) is for a total of 4 i.e., 1 + 3. Based on the information provided, create a
program that will generate the sample screen output below:
Enter how many number(s) to be checked: 28
Number
Sum of Factors
Remarks
1
Deficient
Deficient
Deficient
2
1
3
1
Deficient
Deficient
4
3
1
Perfect
Deficient
Deficient
Deficient
6.
6.
7
1
8.
7
9
4
Deficient
Deficient
Abundant
11
1
16
O-2
Transcribed Image Text:Task: A perfect number is a positive integer that is equal to the sum of its proper divisors (or factors). The smallest perfect number is 6, which is the sum of 1, 2, and 3. Other perfect numbers are 28, 496, and 8,128. An abundant number (or excessive number, or efficient number) is a number for which the sum of its proper divisors (or factors) is greater than the number itself. The integer 12 is the first abundant number. Its proper divisors are 1, 2, 3, 4 and 6 for a total of 16. A deficient number (or defective number) is a number for which the sum of its proper divisors (or factors) is less than the number itself. The integer 9 is an example of a deficient number for which the sum of its proper divisors (or factors) is for a total of 4 i.e., 1 + 3. Based on the information provided, create a program that will generate the sample screen output below: Enter how many number(s) to be checked: 28 Number Sum of Factors Remarks 1 Deficient Deficient Deficient 2 1 3 1 Deficient Deficient 4 3 1 Perfect Deficient Deficient Deficient 6. 6. 7 1 8. 7 9 4 Deficient Deficient Abundant 11 1 16 O-2
Expert Solution
steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
Randomized Select Algorithm
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education