write a program in Java to accept two numbers and express the value without using third variable
Answers
Answered by
7
Answer:
class demo {
public static void main(string arg[]) {
System.out.println("Before swapping");
int x = 10;
int y = 20;
System.out.println("value of x:" + x);
System.out.println("value of y:" + y);
system.out.println("After swapping");
Answered by
3
Answer:
good morning friend
have a nice day
Similar questions
English,
1 month ago
Science,
3 months ago
Computer Science,
3 months ago
English,
10 months ago
Physics,
10 months ago