Write a program in Java to input two numbers. Display the numbers after swapping them by using a third variable. Sample Input: a = 24, b = 38
Sample Output: a = 38, b = 24
Share
Write a program in Java to input two numbers. Display the numbers after swapping them by using a third variable. Sample Input: a = 24, b = 38
Sample Output: a = 38, b = 24
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
0 Replies