import java.util.Scanner;
public class Chpt7_Project {
public static void bubbleSort(int[] list)
{
int temp;
for (int i = list.length – 1; i> 0; i–)
{
for (int j = 0; j < i; j++)
{
if (list[j] > list[j + 1])
{
temp = list[j];
list[j] = list[j + 1];
list[j + 1] = temp;
}
}
}
}
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int[] array = new int[11];
System.out.print(“Enter 11integers: “);
for (int i = 0; i <array.length; ++i) {
array[i] =in.nextInt();
OR
OR