
/** put your documentation for this class here
   See Style Guild for format
*/
public class ISPCharge
{
   // variables describing this charge.
   private char packageCode;
   private double hours;
   
   // declare your constants here.  They should use the private
   // visibility modifier. 
   
   /**************************************************** 
    * The constructor sets the package and hours attributes.
    * @param pkg The code for the package, A, B, or C
    * @param hours The number of hours this month
    */
    public ISPCharge(char pkg, double hrs)
    {
       packageCode = pkg;
       hours = hrs;
    }
   
    /************************************************
    * calcA calculates the charges for package A
    *
    * The rest is left for you to fill in....
    */
    public double calcA()
    // put the calcA method here
    
    /************************************************
    * calcB calculates the charges for package B
    *
    * The rest is left for you to fill in....
    */
    public double calcB()
    // put the calcB method here
    
    
    /************************************************
    * calcC calculates the charges for package C
    *
    * The rest is left for you to fill in....
    */
    public double calcC()
    // put the calcC method here
    
    /************************************************
    * calc charge will decide which package to apply
    * and will return the correct cost.
    *
    * @return The charges for this month.
    */
   public double calcCost()

    /** calcTax calculates the tax on the passed charge
     *
     * The rest is left for you to fill in....
     */
     public double calcTax()
     // put the calcTax method here
     
     
     /** saveWithB calculates whether or not this 
     * charge would be less if they were on plan B
     *  (NOTE: if they are on B or C, this method
     *  should return false.
     * The rest is left for you to fill in....
     */
     public boolean saveWithB()
     // put the saveWithB method here
     
     /** saveWithC calculates whether or not this 
     * charge would be less if they were on plan C
     *  (NOTE: if they are on C, this method
     *  should return false.
     * The rest is left for you to fill in....
     */
     public boolean saveWithC()
     // put the saveWithc method here
     
     /** savingsWithB calculates the amount
     * saved with Plan B
     *  (NOTE: if they are on B or C, this method
     *  should return 0.
     * The rest is left for you to fill in....
     */
     public double savingsWithB()
     // put the savingsWithB method here
     
     /** savingsWithC calculates the savings
     * if they were on plan C
     *  (NOTE: if they are on C, this method
     *  should return 0.
     * The rest is left for you to fill in....
     */
     public double savingsWithC()
     // put the savingsWithc method here

     /*************************************************
      * toString describes this charge.  It should include the 
      * package for this charge and the hours in the format:
      * "Package: %s\tHours: %f" where the package is the 
      * global package code and the hours are the global hours
      * NOTE: This is for testing only. It is not required to 
      * run the final program.
      *
      * the rest is left for you to fill in....
      */   
      public String toString()
      
      // put the toString method here
}