UNB/ CS/ David Bremner/ teaching/ old/ cs1083/ java/ Prices2.java
import java.util.Scanner;
public class Prices2 {
    public static void main(String [] args) {
        Scanner sc = new Scanner(System.in);
        int numPrices=17;
        double [] price=new double [numPrices];
        for (int i=0; i<price.length; i++){
            price[i]=sc.nextDouble();
        }
        double min=price[0];
        for (int i=1; i<numPrices; i++){
            if (price[i]<min)
                min=price[i];
        }
        System.out.println(min);
    }
}

//