RoboticsCamp.java - import java.text.NumberFormat import...

This preview shows page 1 out of 1 page.

import java.text.NumberFormat; import java.util.Locale; public class RoboticsCamp extends SummerCamp { private double facilityFee; private double competitionFee; public RoboticsCamp(String title, String location, double rate, int weeks, double facilityFee, double compFee) { super(title,location,rate,weeks); this.facilityFee = facilityFee; this.competitionFee = compFee; } public void computeTotalCosts() { totalCost = (weeklyRate * numberOfWeeks) + facilityFee + competitionFee;

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture