Java Code to print Multiplication Table
Hello, In this blog we see the java code to print multiplication table. In this program user give the input and depends on that integer number the multiplication table will displayed.
Program:
import java.util.Scanner;
public class MultiTable1
{
public static void main(String[] args)
{
Scanner s = new Scanner(System.in);
System.out.print("Enter number:");
int n=s.nextInt();
for(int i=1; i <= 10; i++)
{
System.out.println(n+" * "+i+" = "+n*i);
}
}
}
In the above code we use variable 's' to store the input value. And by using for loop the actual multiplication table is displayed.
Output:
Multiplication Table using Java program
Reviewed by Amit Waghmare
on
January 04, 2020
Rating:
Wow, your post is very helpful. I have learned a lot from this post. I hope everyone gets help like me. Check out this link to learn more and learn about this topic: https://sisayed360.blogspot.com/
ReplyDeleteUse this diet hack to drop 2 lb of fat in just 8 hours
ReplyDeleteMore than 160k women and men are trying a easy and secret "liquid hack" to drop 1-2 lbs each night in their sleep.
It's simple and it works every time.
Here's how you can do it yourself:
1) Hold a glass and fill it up with water half full
2) Now follow this amazing HACK
and you'll become 1-2 lbs skinnier when you wake up!
Many businesses which are hoping to increase their online presence are hiring an SEO company or using SEO services well to gain every single benefit while achieving their goals. # BOOST Your GOOGLE RANKING.It’s Your Time To Be On #1st Page
ReplyDeleteOur Motive is not just to create links but to get them indexed as will
Increase Domain Authority (DA).We’re on a mission to increase DA PA of your domain
High Quality Backlink Building Service
1000 Backlink at cheapest
50 Free Backlink
Although attempting to learn SEO yourself is a good idea as well as a tempting one, there are high chances you might implement SEO techniques wrongly because they need months and years of experience.
Even if you are armed with an abundance of knowledge in SEO, you may still need the services of a professional SEO company. Having strong knowledge of SEO is hardly sufficient in some cases. 2000 Backlink at cheapest
ReplyDelete5000 Backlink at cheapest
Boost DA upto 15+ at cheapest
Boost DA upto 25+ at cheapest
Boost DA upto 35+ at cheapest
Boost DA upto 45+ at cheapest
Even if you are doing your best to attempt to obtain a good ranking for your website, you might still wind up wondering why your website is simply not doing well.
The following publishing industry article addresses some of the legal issues arising for publishing lawyers, entertainment attorneys, authors, and others as a result of the prevalence of e-mail, the Internet # BOOST Your GOOGLE RANKING.It’s Your Time To Be On #1st Page
ReplyDeleteOur Motive is not just to create links but to get them indexed as will
Increase Domain Authority (DA).We’re on a mission to increase DA PA of your domain
High Quality Backlink Building Service
Boost DA upto 15+ at cheapest
Boost DA upto 25+ at cheapest
Boost DA upto 35+ at cheapest
Boost DA upto 45+ at cheapest As usual, publishing law generally and the law of the digital right and electronic right specifically, governing these commercial activities