Computer Science, asked by abhiramchikkala, 11 months ago

Write a program to swap the

values of two variables without using a temporary variable.​

Answers

Answered by yashrock25
1

Answer:

Aree very simple

Explanation:

class swap

{

public static void main()

{

int n=15;

int z=10;

System.out.println(" the value of n is"+z);

System.out.println("The value of z is"+n);

}

}

Similar questions