paint-brush
Java Program to Generate Multiplication Table of the Input Numberby@mayankvikash
1,127 reads
1,127 reads

Java Program to Generate Multiplication Table of the Input Number

by Mayank Vikash4mOctober 5th, 2022
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

The first method is long and time-consuming whereas the second one needs fewer lines of code but it is not beginners friendly. The second method requires basic knowledge of the while loop. In the first method, the first number is getting printed two times. The first number gets printed if you multiply it by 1, the number itself is printed by 1. The other method uses a while loop to print a multiplication table from 1 to 10 times with an increment. The program can be solved by two methods, one of which is very difficult.
featured image - Java Program to Generate Multiplication Table of the Input Number
Mayank Vikash HackerNoon profile picture
Mayank Vikash

Mayank Vikash

@mayankvikash

Student with interest in tech

Learn More
LEARN MORE ABOUT @MAYANKVIKASH'S
EXPERTISE AND PLACE ON THE INTERNET.
0-item

STORY’S CREDIBILITY

Original Reporting

Original Reporting

This story contains new, firsthand information uncovered by the writer.

L O A D I N G
. . . comments & more!

About Author

Mayank Vikash HackerNoon profile picture
Mayank Vikash@mayankvikash
Student with interest in tech

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite