UNB/ CS/ David Bremner/ teaching/ old/ cs1083/ java/ Prices1.java
import java.util.Scanner;
public class Prices1 {
    public static void main(String [] args) {
        Scanner sc = new Scanner(System.in);
        double price1, price2, price3, price4, price5;
        price1=sc.nextDouble();
        price2=sc.nextDouble();
        price3=sc.nextDouble();
        price4=sc.nextDouble();
        price5=sc.nextDouble();

        double min=price1;

        if (price2 < min)
            min=price2;
        if (price3 < min)
            min=price3;
        if (price4 < min)
            min=price4;
        if (price5 < min)
            min=price5;

        System.out.println(min);
    }
}

//