We haven't gone really far in class. We are finishing while loops. My teacher stated that he wants us to use loops to do this program. I don't see how I could do this with loops.
Type: Posts; User: silvagabriel123
We haven't gone really far in class. We are finishing while loops. My teacher stated that he wants us to use loops to do this program. I don't see how I could do this with loops.
This is what I have so far. But its only printing out the first 5 factors. I don't know how to print out the biggest 5 factors.
import java.io.*;
public class Factors
{public static input in =...
Print out 5 biggest factors of a number that is entered.
I need help writing a program that will print out the 5 biggest factors of a number that is entered.
For example:
Enter A Number:...