/*
 * ChangeAdder.java
 * Dave Sullivan (dgs@cs.bu.edu)
 *
 * This program determines the value of some coins in cents.
 */

public class ChangeAdder {
    public static void main(String[] args) {
        // If we don't declare the types of the variables,
        // the compiler will complain.

        // For the first four variable declarations, we specify an
        // initial value.
        int quarters = 10;
        int dimes = 3;
        int nickels = 7;
        int pennies = 6;

        // For this declaration, we don't specify an initial value.
        // Instead, we use the assignment statement below.
        int cents;

        // Compute and print the total value.
        cents = 25*quarters + 10*dimes + 5*nickels + pennies;
        System.out.print("Your total in cents is: ");
        System.out.println(cents);
    }
}
