Translate the following flowcharts to JAVA programs.

Click here to see how to swap two numbers.

Click here to see how to sort three numbers.