Void paws(int a,int b)
{
a=a+b;
b=a-b;
a=a-b;
System.out.println(a+”,”+b);}//give output if the values passed are 30 and 50
Answers
Answered by
10
A = a+b = 30 + 50————=80
B. = a- b = 80 - 50—————=30
A= a - b = 80-30——————=50
Therefore A = 50
B = 30
Please Mark as brainliest
A :
B:
B. = a- b = 80 - 50—————=30
A= a - b = 80-30——————=50
Therefore A = 50
B = 30
Please Mark as brainliest
A :
B:
Similar questions