How to multiply two numbers in java.
class AddExample
{
public
static void main(String args[])
{
int
a=5,b=6;
System.out.println(“Multiply= ”+(a*b));
}
}
OUTPUT :
Multiply= 30
No comments:
Post a Comment