Question: This should be in java Problem 2 - Threshold Friendly Numbers The proper positive divisors of an integer number are all the positive divisors excluding

This should be in java  This should be in java Problem 2 - Threshold Friendly Numbers

Problem 2 - Threshold Friendly Numbers The proper positive divisors of an integer number are all the positive divisors excluding the number itself. We will define a "threshold friendly number" as those integers for which the sum of their proper positive divisors is greater than a given threshold. Write a program that asks for a threshold value as input and prints every other threshold friendly number in the range [1,100]. For example, if the threshold is 80, then the list of threshold friendly numbers is: 60, 72, 78, 80, 84, 88, 90, 96 and 100. The program should print: 60, 78, 84, 90 and 100. A sample run looks like this: BlueJ: Terminal Window- ThresholdFriendly ...Threshold Friendly... Threshold value: 80 60 78 84 98 188

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!