Java program to swap two numbers using a temporary variable


Program:

 

Output:


Posted in Articles and tagged , , , .

Leave a Reply

Your email address will not be published. Required fields are marked *