Computer Science, asked by coolyoradhika2401, 10 months ago

Write a program to calculate (a+b)2 values in java

Answers

Answered by VaniSna
1

Answer:

class sum

{

void main(int a,int b)

{

int Sum=2*(a+b);

System.out.print(Sum);

}

}

Explanation:

Similar questions