import java.util.Scanner;
public class KboatNumberSwap
{
public static void main(String args[]) {
Scanner in = new Scanner(System.in);
System.out.println("Enter two unequal numbers");
System.out.print("Enter first number: ");
int a = in.nextInt();
System.out.print("Enter second number: ");
int b = in.nextInt();
a = a + b;
b = a - b;
a = a - b;
System.out.println("a = " + a + " b = " + b);
}
} what will be the variable description table for this program?
Answers
Answered by
0
Answer:
This is a Swapping of two Numbers.
Explanation:
Here two variable is used A and B.
Similar questions
Social Sciences,
16 days ago
English,
16 days ago
Biology,
16 days ago
Math,
1 month ago
Math,
1 month ago