How to multiply 2 numbers in JAVA? class mul { public static void main(String[] args) { int a=10,b=2; int c; c=a*b; System.out.println("mul=" +c); } } Output: 20
No comments:
If you have any doubt or query ,comment below: