Computer Science, asked by 4427, 10 months ago

Write a program to input any two integer numbers and interchange the value without using a third variable. And please it is a humble request that if you know the answer then only reply otherwise I will report it.

Answers

Answered by Vyomsingh
1

Answer:

SEE MY POST BELOW AND PLS MARK ME AS BRAINLIST

Attachments:
Answered by anindyaadhikari13
42

There are many Approaches. I am showing you one of them.

class x

{

static void main(int a, int b)

{

a+=b;

b=a-b;

a-=b;

}

}

Write the print statements on your own.

Similar questions