Write a program for Horizon Phones, a provider of cellular phone service. Prompt a user for maximum
Question:
Write a program for Horizon Phones, a provider of cellular phone service. Prompt a user for maximum monthly values for talk minutes used, text messages sent, and gigabytes of data used, and then recommend the best plan for the customer’s needs. A customer who needs fewer than 500 minutes of talk and no text or data should accept Plan A at $49 per month. A customer who needs fewer than 500 minutes of talk and any text messages should accept Plan B at $55 per month. A customer who needs 500 or more minutes of talk and no data should accept either Plan C for up to 100 text messages at $61 per month or Plan D for 100 text messages or more at $70 per month. A customer who needs any data should accept Plan E for up to 2 gigabytes at $79 or Plan F for 2 gigabytes or more at $87. Save the file as CellPhoneService.java.
Step by Step Answer:
entry JOptionPaneshowInputDialognull Enter talk minutes needed tal...View the full answer
Students also viewed these Computer science questions
-
Write a program for your graphing utility that graphs two vectors and their difference given the vectors in component form.
-
GPA Calculator (gpa_calculator.py) You've decided to build a program to track your Grade Point Average (GPA). Your program will prompt the user to enter information for each course attempted (eg....
-
Cas Experiment Graphing Write a program for graphing partial sums of the following series. Guess from the graph what f(x) the series may represent. Confirm or disprove your guess by using the...
-
(1) Choose all of the following statements that are correct about the time evolution of a general wave function: (I) The time evolution of a general wave function is governed by the Hamiltonian...
-
Suppose that a gas pipeline averages 1 blemish per 40 km. Find the following probabilities for a section of the pipeline. More than 60 km between successive blemishes if there is at least 40 km...
-
Consider the possible fission reaction (a) Compute the energy released in the reaction. (b) Is this reaction likely to occur? Explain. 120, n+ 235U-2Cd + /R + 3n 44 92
-
Is the development life cycle over with deployment?
-
In 2011, Alliant Corporation acquired Centerpoint Inc. for $300 million, of which $50 million was allocated to goodwill . At the end of 2013, management has provided the following information for a...
-
Zen Aerospace Corporation reported the following equity account balances on December 3 1 , 2 0 2 2 : Preferred shares, $ 3 . 6 0 cumulative, unlimited shares authorized $ 0 Common shares, unlimited...
-
H0: = 120 and Ha: 120 are used to test whether a bath soap production process is meeting the standard output of 120 bars per batch. Use a .05 level of significance for the test and a planning...
-
Caitlyns Crafty Creations computes a retail price for each product as the cost of materials plus $12 multiplied by the number of hours of work required to create the product, plus $7 shipping and...
-
What is the output of the following code segment? t = 10; if(t > 7) { System.out.print("AAA"); System.out.print("BBB"); } a. AAA b. BBB c. AAABBB d. Nothing
-
For the year ending April 30, Safeguard Medical Services Co. mistakenly omitted adjusting entries for (1) $1,700 of supplies that were used, (2) unearned revenue of $8,000 that was earned, and (3)...
-
Who is accountable for social responsibility with a firm investors the border Directors the financial market or management
-
One major airlines consolidation history that is currently operating today
-
someone offters to pay you $ 9 . 1 1 , at the end of each year, forever. If you're required rate of return is 9 % , how much would you pay that person today in exchange for their future payments.
-
political or social matters when it comes to conducting poll across the world
-
Tax Research Assignment The five steps in tax research are:... Tax Research Assignment The five steps in tax research are: understand the facts identify issues locate relevant...
-
The following misstatements are included in the accounting records of Lathen Manufacturing Company: 1. Joe Block and Frank Demery take turns "punching in" for each other every few days. The absent...
-
H.J. Heinzs annual dividends were as follows: 1990 ..............$0.540 1991.............. 0.620 1992 .............. 0.700 1993.............. 0.780 1994 .............. 0.860 1995 .............. 0.940...
-
Which of the following elements is not required in a variable declaration? a. A type b. An identifier c. An assigned value d. A semicolon
-
The assignment operator in Java is _____________. a. = b. == c. := d. ::
-
Assuming you have declared shoeSize to be a variable of type int, which of the following is a valid assignment statement in Java? a. shoeSize = 9; b. shoeSize = 9.5; c. shoeSize = nine; d. Two of the...
-
If a set of m+1 data points (x,y) are to be represent by a least squares fit of y=c logx derive an expression for c in terms of x and y.
-
5 If 0 = then 4 cos(0) = sin(0) =
-
Determine the reactions of the given beam using slope deflection method. P = 25 kN, P2 = 25 kN, and w = 25 kN/m P1 P2 2m B 2m C 4m 21 Numerical answer in 4 decimal places and positive values only: RA...
Study smarter with the SolutionInn App