Computer Science, asked by alpanaverma012p7kpa3, 1 year ago

Create a java program......... Assume two numbers in two variables and exchange the values using the third variable....... Plz help me out i m in class 9

Answers

Answered by missphoenix
1
class Exchange
{ void main( )
{ int a=5, b=6, c;
c=a;
a=b;
b=c;
}
}

I hope you can write the print statements so I didn't write them.

(please mark my answer as brainliest if you are good with it)
Similar questions