Tuesday, 23 January 2024

Swap Numbers


   public static void swapNumbers(int one, int two){
     one = one + two;
two = one - two;
one = one - two;

System.out.println("One is " + one + "Two is " +two);
    }

No comments:

Post a Comment

Reverse Words in a Sentence