Technology Lesson
Showing posts with label
display
.
Show all posts
Showing posts with label
display
.
Show all posts
Wednesday, February 18, 2015
Java program to display multiplication table of any number
class Table
{
public static void main(String...s)
{
int n,i;
n=Integer.parseInt(s[0]);
for(i=1;i<=10;++i)
System.out.println(n+" * "+i+" = "+(n*i));
}
}
Read more »
Older Posts
Home
Subscribe to:
Posts (Atom)