JavaTech
Pages - Menu
(Move to ...)
Home
Compilation Process
Algorithms || Introduction
▼
Pages
(Move to ...)
Algorithms || Introduction
Compilation Process
▼
Wednesday, December 16, 2015
Java program to print the Mutiplication of 2 numbers
Multiply two numbers:
public class Multi
{
public static void main()
{
int a,b,result;
a=10;
b=20;
result=a*b;
System.out.println("Multiplication is "+result);
}
}
Thank you and make sure to like and comment.
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment