Java program to print multiplication table of a number entered by a user using a for loop. You can modify it for while or do while loop for practice. Using nested loops (a loop inside another loop), we can print tables of numbers between a given range say a to b, for example, if the input numbers are '3' and '6' then tables of '3', '4', '5' and '6' will be printed. Java programming source code import java.util.Scanner ; class MultiplicationTable { public static void main ( String args [ ] ) { int n, c ; System . out . println ( "Enter an integer to print it's multiplication table" ) ; Scanner in = new Scanner ( System . in ) ; n = in. nextInt ( ) ; System . out . println ( "Multiplication table of " + ...
Learn Graphics Design, Video Editing, Form Fill, Web Oriented