how do you convert a code in JAVA to a flowchart
the code in java for this program is: // new code now// import java.util.*; public class Program { public static void main(String [] args) { Scanner multi = new Scanner(System.in); int a = multi.nextInt(); // over here start of with the headings and the formatting of the code. System.out.println("Welcome! Here is the multiplication table of" + a ); System.out.println("\n-----Safety:--------"); System.out.println("\n---Multiplication Table of "+a+" from 1 to infinity!"); for(int i = 1;i<Double.POSITIVE_INFINITY;i++){ System.out.println(a+" * "+i+" = "+(a*i)); } } }