Author name: Tejaswi Kothakonda

Create a Multiplication Table Using Java

In this tutorial, we will learn to create a multiplication table of a given number using Java. We can use the for loop or while loop for implementing easily. Code for Multiplication Table import java.util.Scanner; public class demo { public static void main(String args[]) { int num; System.out.print(“Enter a number: “); Scanner sc = new Scanner(System.in); num = sc.nextInt(); …

Create a Multiplication Table Using Java Read More »

Scroll to Top