Find Us On: Facebook Twitter Rss Feed Blog
Need To Register? Sign Up Login

Java Programming Challenge

julesxdujour
julesxdujour 


A University has the following dormitories: Allen Hall: $1,500 per semester Pike Hall: $1,600 per semester Farthing Hall: $1,200 per semester University Suites: $1,800 per semester The university also offers the follow meal plans: 7 meals per week: $560 per semester 14 meals per week: $1,095 per semester Unlimited meals:$ 1,500 per semester Create an application with two combo boxes One should hold the names of the dormitories and the other should hold the meal plans. The user should select a dormitory and a meal plan and the application should show the total charges for the semester. Attachments Tags Clarifications

Answers

Java Meal Plan And Dormitory Calculator

dickersonka
dickersonka 



Attached is the java meal plan and dormitory calculator Attachments
MealPlanCalculator.zip (104 K) Download








Preview
mealPlanComboBox; private JTextField priceTextField; private DecimalFormat currencyFmt = new DecimalFormat( "$##0.00" ); private Dormitory[] dorms = { new Dormitory("(select dorm)", 0.00), new Dormitory("Allen Hall", 1500), new Dormitory("Pike Hall", 1600), new Dormitory("Farthing Hall", 1200), new Dormitory("University Suites", 1800) };

Preview
} public String getName() { return name; } public void setName(String name) { this.name = name; } public double

Preview
this.price = price; } public String getName() { return name; } public void setName(String name) { this.name = name; }

Screenshots
Purchase Answer