There is a Java Question I need to write a Java Program . Can anyone help me.?
-
Write a program for the ¡§FAST Cable Providers¡¨ which prints the monthly bill for their customers. The company provides internet, home telephone and digital television services. The company allows the customer to build their own bundles by selecting the package for each service available. If the customer subscribes to more than one service, he is eligible to 5% discount on their monthly bill. The packages available are: Service 1 - Internet: Package 1 $15.99/month „h Download speed: up to 1 Mbps „h Upload speed: up to 500 kbps „h Internet usage: 1 GB of bandwidth per month „h Additional usage will be charged (upload or download) $5/MB Package 2 $21.99/month „h Download speed: up to 2 Mbps „h Upload speed: up to 1 Mbps „h Internet usage: 4 GB of bandwidth per month „h Additional usage will be charged (upload or download) $4/MB Package 3 $25.99/month „h Download speed: up to 6 Mbps „h Upload speed: up to 4 Mbps „h Internet usage: 10 GB of bandwidth per month „h Additional usage will be charged (upload or download) $3/MB Service 2 - Telephone 1 - Lite :$14.99/month „h Unlimited local calling „h Call display free for 3 months 2 - Basic:$24.99/month „h Unlimited local calling „h Call display „h Voice message 3-Choice:$ 5.99/month „h Unlimited local calling „h Call display „h Voice message „h Unlimited North America Service 3 - Television 1--Basic: $14.99/month „h Digital channel „h 50 free HD channels 2--Supreme: $24.99/month „h Digital channel „h 100 free HD channels „h One movie premium pack Extra Usage The customer can subscribe to pay per view programs: - standard definition programs are $3.99/month - high definition programs are $5.99/month Gathering the information from the customer Prompt the customer to select the package for each of the available services: Internet, Home Telephone and Television. Valid packages are only ones that available for the selected service: customer can select packages 1, 2 or 3 for the Internet, and only 1 or 2 for the Television Extra usage is either (1) - standard definition or (2) - high definition. Extra usage options are only available if the customer selected to subscribe to Television service. Calculating the Amount Due Once all the information is collected, calculate the amount of monthly bill as follows: Internet cost is a cost of the selected package Telephone cost is a cost of the selected package Television cost is a cost of the selected package + extra usage cost Total cost is calculated by adding the cost of all selected services. Bundle discount is 5% off the total cost. It only applies if more than one service is selected. HST is calculated by adding 15% to the total cost (after deducting bundle discount if applies) Amount due is calculated by adding HST to the total cost. Displaying the bill Please see the sample run below for the format of the bill. Sample run Welcome to XYZ Cable Providers Would you like to subscribe to Internet? (1 ¡V yes, 0 ¡V no): 1 Choose package 1, 2 or 3: 2 Would you like to subscribe to Home Telephone? (1 ¡V yes, 0 ¡V no): 0 Would you like to subscribe to Television? (1 ¡V yes, 0 ¡V no): 1 Choose package 1 or 2: 1 Would you like to subscribe to Pay Per View? ( 1- yes, 0 ¡V no): 1 Choose standard definition (1) or high definition (2): 2 XYZ Cable Providers Bill Details Service Package Cost Internet 2 $21.99 Home Telephone N/A $0.00 Television 1 $14.99 Extra (Pay Per View) 2 $5.99 Subtotal: $42.97 Bundle Discount: 5% $2.15 Total Before Tax $40.82 HST 15% $6.10 Amount Due: $46.92 Above given sample run is done using Scanner class, you are free to use JOptionPane for input. The output should be on console and should look exactly like the given one. SUBMISSION GUIDELINES Save your code to a file named ¡§MonthlyBill.java¡¨ .Upload your code on slate on later than Friday 2nd March,2012 latest by midnight Your program MUST include the following comment: /* Student Assignment Submission Form
-
Answer:
http://www.learninsidejava.blogspot.in/
Tanu Saini at Yahoo! Answers Visit the source
Other answers
Try www.1000projects.com here is lot of java and other project where u can find the example and soulation for ur question.
umar
You can develop in Java servlet concept
Mark
Please do try first on your own and then come here for help and guidance.
James Bond
Related Q & A:
- I need help with some horse questions, can you help me.Best solution by Yahoo! Answers
- I need to write a letter of recommendation for myself.Best solution by Stack Overflow
- I have to write a personal statement. Any help?Best solution by ucas.com
- Can anyone help me with this C++ program?Best solution by Yahoo! Answers
- Can anyone help with a code for a ford fiesta radio?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.