write a program to input two numbers a,b.If a>b,display the square of a otherwise square of b.
Answers
Answered by
0
Explanation:
void calc(int a,int b)
{
if (a>b)
System.out.println (a*a);
else
System.out.println (b*b);
}
HOPE IT HELPS
PLS MARK AS BRAINLIEST
Similar questions