Skip to content

Commit 2657c4a

Browse files
Update Swapnum.java
1 parent 7c9b9c2 commit 2657c4a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Basic Codes/Swapnum.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Write a program to swap two numbers (with the help of third variable).
12
import java.util.Scanner;
23

34
class Swapnum
@@ -19,4 +20,4 @@ public static void main(String args[])
1920

2021
System.out.println("After Swapping\nnum1 = "+num1+"\nnum2 = "+num2);
2122
}
22-
}
23+
}

0 commit comments

Comments
 (0)