import java.util.*;

/**
 * DeliFormat.java - Computes the price of a deli item given the weight
 * (in ounces) and price per pound -- prints a label, nicely formatted,
 * for the item.
 *
 * @author <Your Name Here>
 * @version 
 */
public class DeliFormat

{
	/**
	 * main reads in the price per pound of a deli item
	 * and number of ounces of a deli item then computes
	 * the total price and prints a "label" for the item
	 *
	 * @param args command line arguments unused
	 */
	public static void main (String[] args)
	{
		// DECLARATIONS
		final double OUNCES_PER_POUND = 16.0;

		double pricePerPound; // price per pound
		double weightOunces; // weight in ounces
		double weight; // weight in pounds
		double totalPrice; // total price for the item
		Scanner scan;

		// Declare money as a DecimalFormat object
		// Declare fmt as a DecimalFormat object
		

		// INPUT
		// Instantiate a Scanner object and set it to read from the keyboard.
		// Following each of the prompts read in the appropriate value.
		
		System.out.println ("Welcome to the CS Deli!!\n ");

		System.out.print ("Enter the price per pound of your item: ");

		System.out.print ("Enter the weight (ounces): ");


		// ACTION CODE
		
		// Instantiate the DecimalFormat object to use a currency format.
		
		// Instantiate the DecimalFormat object to
		// format numbers with at least one digit to the left of the
		// decimal and the fractional part rounded to two digits.

		// Convert ounces to pounds and compute the total price
		weight = weightOunces / OUNCES_PER_POUND;
		totalPrice = pricePerPound * weight;

		// OUTPUT
		// Print the label using the formatting objects
		// fmt for the weight in pounds and money for the prices
		

	}
}
