Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Business Management Expert

Java program that calculates the bill for a cellular telephone company. The company offers two types of service: regular and premium. The rates vary depending on the type of service. The rates are computed as follows:

Regular service: $10.00 plus first 50 minutes used each month are included in the $10.00 monthly service fee. Charges for minutes used over 50 minutes each month are $0.20 per minute.

Premium service: $25.00 plus:

a. For calls made from 6:00AM to 6:00PM, the first 75 minutes used each month are included in the $25.00 monthly service fee; charges for minutes used over 75 minutes each month are $0.10 per minute.

b. For calls made from 6:00PM to 6:00AM, the first 100 minutes used each month are included in the $25.00 monthly service fee; charges for minutes used over 100 minutes each month are $0.05 per minute.

Your program should prompt the user to enter an account number, a service code (type char), and the number of minutes the service was used. A service code (or R) means regular service; while code (or P) means premium service.

For the premium service (code P), the customer may be using the service during both the day and at night. Therefore, you must ask the user to input the number of minutes used during the day and the number of minutes used at night (do not prompt for total minutes).

The program should output, on separate lines and with proper labels, the account number, service type, number of minutes the service was used, and the amount due from the user.

Business Management, Management Studies

  • Category:- Business Management
  • Reference No.:- M92348933
  • Price:- $10

Priced at Now at $10, Verified Solution

Have any Question?


Related Questions in Business Management

Mcdonald j 1940 before ill be beaten retrieved from

McDonald, J., (1940). Before I'll be beaten. Retrieved from https://youtu.be/FNOhWV_DiR4?list=PL9997E557555DD45A As you watch the video, think about the following: What do you think the song means about Being Beaten? Why ...

Aligning staffing systems with organizational strategyfirst

Aligning Staffing Systems with Organizational Strategy First, consider your firm's (Walgreens Pharmacy) orientation in regards to the Miles and Snows framework. How will the firm retrain, hire staff, or outsource to meet ...

An array a1 n is said to have a majority element if more

An array A[1 . . . n] is said to have a majority element if more than half of its entries are the same. Given an array, the task is to design an efficient algorithm to tell whether the array has a majority element, and, ...

Discuss the link between strategy and performance select an

Discuss the link between strategy and performance. Select an industry and discuss 2 rival firms in that industry and how they illustrate the difference between strategy and performance

There is a lot of information about how relevant this type

There is a lot of information about how relevant this type of thick clients is still. What are the advantages/disadvantages of these type of connections?

In a perfectly competitive model firms are price takers

In a perfectly competitive model firms are price takers, total revenue for the perfectly competitive firm is equal to pq. Derive marginal revenue and average revenue.

Can you please explain the following strategies overall

Can you please explain the following strategies: overall cost leadership, differentiation, and focus, and share an example of these strategies?

What is the difference between a leader and manager when it

What is the difference between a leader and manager when it comes to addressing organizational change? What indications are there as to when leadership or management is most appropriate? Is measurement a management or a ...

Would it help if a non-profit that aims to help the less

Would it help if a non-profit that aims to help the less fortunate lobbied with the United Nations and other international organizations to make the governments in some of the countries to spend a certain percentage of t ...

A firm produces product a and product b this years sales

A firm produces Product A and Product B. This years sales price of Product A have decreased tremendously, and the sale of Product B has increase by 10 percent. The firm has threeemployees that can produce Product A and f ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As