package sort; public class SortingUsingLoops { public static void main(String[] args) { int arr[] = {4, 2, 9, 6, 7, 3, 1}; for(int i=0; i