Write a complete Java program to input (through parameters) two
numbers and find the sum and product. Display sum and product
separately.
Answers
Answered by
0
Answer:
Zfytziyxgiuxjxgugcdyu7stgux
Answered by
0
Explanation:
class Java
{
public static void main(String ar[])
{
int a,b,sum,c,d,product;
a=5;
b=5;
sum=a+b;
System.out.println("The sum is:"+sum);
c=2;
d=2;
product=c*d;
System.out.println("the product is:"+peoduct);
}
}
Similar questions