WAP to find product of two number.

3 years ago
OOP Java

Compile code:

class Mul{
public static void main(String[] args) {
        
      int num1 = 5, num2 = 15, mul;
      mul = num1 * num2;

      System.out.println("Multiple these numbers: "+mul);
   }
}

Output:

0
Dipti KC
Jan 8, 2023
More related questions

Questions Bank

View all Questions