Back To Java Loops Index
//program to print table of a number entered by the user using for statement public class forloopprinttable { public static void main(String[] args) { int i,a; a=5; for(i=1;i<=10;i++) { System.out.println(i*a); } } }