Product of Numbers || Basic Programs || Java programs || JAVA

 
In this, we are going to see the program for Product of variables of  in Java .


class Multiplication 
{
    public static void main(String[] args) 
    {
        int a = 5, b = 7, c = 12;
        int d = a * b * c;
        System.out.println("Product=" + d);
    }
}

#ENJOY CODING

Post a Comment

FOR ANY DOUBTS AND ERRORS FEEL FREE TO ASK. YOUR DOUBTS WILL BE ADDRESSED ASAP

Previous Post Next Post