Write a program to calculate (a+b)2 values in java
Answers
Answered by
1
Answer:
class sum
{
void main(int a,int b)
{
int Sum=2*(a+b);
System.out.print(Sum);
}
}
Explanation:
Similar questions