As I say to every one requesting programming help on these forums. If you don't specify a language, then it just means you'll have to translate the answer that is given to you, to a different language. Here's what you want in Java:
<span>import java.util.InputMismatchException<span>; </span>import java.util.Scanner<span>; </span> public class Test { public static void main(String[] args) { int number = numInput()<span>; </span> printFactors(Math.abs(number))<span>; </span> }
private static int numInput() { Scanner sc = new Scanner(System.in)<span>; </span> System.out.print("Enter number: ")<span>; </span> int input<span>; </span> while (true) { try { input = sc.nextInt()<span>; </span><span> break; </span> } catch (InputMismatchException e) { System.out.println("Not a number.")<span>; </span> } }
return input<span>; </span> }
private static void printFactors(int number) { if (number == 0) { System.out.println("Infinite factors.")<span>; </span> } else { for (int i = 1; i <= number; i++) { for (int j = 1; j <= number; j++) { if (i * j == number) { System.out.print(i + ", ")<span>; </span> } } } } } }</span>
In its simplest form, a digital dashboard or a business dashboard
provides a graphical representation of KPIs, measures and metrics used by a
company to monitor performance of departments, individuals, teams or the entire company. They track the progress of business objectives and make effective
data driven decisions.
Microsoft Excel is a spreadsheet program included in the Microsoft Office suite of applications. ... Spreadsheets present tables of values arranged in rows and columns that can be manipulated mathematically using both basic and complex arithmetic operations and functions.
In the lab, the Ethernet II detail of the provided packet capture file indicated that Wireshark had determined that the type of traffic carried in the next layer was Internet Protocol (IP).