//This is an interactive program for selection sort //Recall the non-interactive one discussed in some lecture class. //This program prompts the user to enter the numbers to be sorted. //It uses files frompackage java.io.*. //ADVICE : Read this program after reading the files //Console_chareader.java //Interactively_reading_integers.java import java.io.*; class selection_sort_i { public static int index_of_smallest_value(int[] B,int start, int end) { int index_of_smallest = start; int index = start+1; for(;index<=end; index=index+1) { if(B[index_of_smallest] > B[index]) index_of_smallest = index; } return index_of_smallest; } public static void swap_values_at(int[] B, int i, int j) { int temp = B[i]; B[i] = B[j]; B[j] = temp; } public static void print_array(int[] B) { for(int i = 0; i