Computer Science, asked by mrknowledge624siri, 11 months ago

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 qwerty0901
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:
Similar questions