// ITI 1120
// Name: Diana Inkpen, Student# 123456

//import java.io.*;

/**
 * This program computes the average of three costs (for three books).
 */

class Average1
{
    public static void main (String[] args)
    {
        // DECLARE VARIABLES/DATA DICTIONARY 

        double cost1; // GIVEN three costs
        double cost2; // GIVEN
        double cost3; // GIVEN
        
        double avgCost;  // RESULT: average cost

        cost1 = 80.5;
        cost2 = 60;
        cost3 = 70.85;
        
        // ALGORITHM
     
        avgCost = (cost1 + cost2 + cost3) / 3;
            
        // PRINT OUT RESULTS
        
        System.out.println( "The average cost is " + avgCost);
    }     
} 
