How to multiply two numbers in java

 public class Mul{
      public static void main(String args[]){
            int num1=7;
             int num2=8;
             int Mul=num1*num2;
             System.out.print(Mul);
}}

No comments:

Post a Comment

How to install java   How to add two numbers in java How to compile the program How to subtract two numbers in java How to multiply two numb...