Pages - Menu

Pages

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