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