Menu
support@nursinghomework.org
+1 714-215-3097

(Solved) : Write Java Code Using Else Switch Loops Cannot Use Arrays Q35548540

WRITE JAVA CODE USING if, if/else, switch, loops. CANNOT USEARRAYS

CellphoneHub is cellphone plan comparison service that helps user choose an appropriate phone plan in Canada. They currently

Ce11PhoneHub Plans Please enter the number of phone lines you need (1-5):2 Line 1 Info: Do you need a phone with this line (y

CellphoneHub is cellphone plan comparison service that helps user choose an appropriate phone plan in Canada. They currently provide details for three different plans and support 3 different cell phone models. The details are mentioned below Three cellphone models available are Google Pixel 3, Samsung Note 9 and iPhone X Max. There are three family cell phone plans available (all of them are 2 year plans) (1) Plan A (Canada wide calling with 4GB shared data) (2) Plan B Canada wide calling with 10GB shared data) (3) Plan C (Canada wide calling with 12GB shared data) You can add as many lines to the shared plan as you want and you will get $10 discount for each added line. You also get $10 discount if you bring your own phone (BYOP). The details for cell phone discounts with each plan and along with plan price tags are tabulated below PLANS and Phone Prices PLAN A ($70) PLAN B ($89) PLAN C ($120) $10 discount $10 discount $10 discount $429.00 $839.00 $939.00 Phones Phone Outright Price N/A $1269.00 $1599.00 $1809.99 BYOP (No Phone) $779.00 $1189.00 $1339.00 0.00 $639.00 $819.99 Google Pixel 3 Samsung Note 9 iPhone X Max Write a program that helps a user decide which plan works better for him. The program should ask the user to enter the total number of phone lines and whether or not a phone needs to be purchased with each line. Compare all three plan costs and provide the user with all his options. *You can leave more than 2 decimal places for the prices and you do not need to compute taxes. You may assume a perfect user and therefore there is no need for any input validation; however, the y/n choices should be case in-sensitive. Ce11PhoneHub Plans Please enter the number of phone lines you need (1-5):2 Line 1 Info: Do you need a phone with this line (y/n): y Do you want to purchase the phone outright (y/n): n Please enter 1 for Google, 2 for Samsung or 3 for iPhone: 1 Line 2 Info: Do you need a phone with this line (y/n): n Plans Summary Total cost for 2 years with plan A will be $3659.0 Total cost for 2 years with plan B will be $4221.0 Total cost for 2 years with plan C will be $5280.0 Show transcribed image text CellphoneHub is cellphone plan comparison service that helps user choose an appropriate phone plan in Canada. They currently provide details for three different plans and support 3 different cell phone models. The details are mentioned below Three cellphone models available are Google Pixel 3, Samsung Note 9 and iPhone X Max. There are three family cell phone plans available (all of them are 2 year plans) (1) Plan A (Canada wide calling with 4GB shared data) (2) Plan B Canada wide calling with 10GB shared data) (3) Plan C (Canada wide calling with 12GB shared data) You can add as many lines to the shared plan as you want and you will get $10 discount for each added line. You also get $10 discount if you bring your own phone (BYOP). The details for cell phone discounts with each plan and along with plan price tags are tabulated below PLANS and Phone Prices PLAN A ($70) PLAN B ($89) PLAN C ($120) $10 discount $10 discount $10 discount $429.00 $839.00 $939.00 Phones Phone Outright Price N/A $1269.00 $1599.00 $1809.99 BYOP (No Phone) $779.00 $1189.00 $1339.00 0.00 $639.00 $819.99 Google Pixel 3 Samsung Note 9 iPhone X Max Write a program that helps a user decide which plan works better for him. The program should ask the user to enter the total number of phone lines and whether or not a phone needs to be purchased with each line. Compare all three plan costs and provide the user with all his options. *You can leave more than 2 decimal places for the prices and you do not need to compute taxes. You may assume a perfect user and therefore there is no need for any input validation; however, the y/n choices should be case in-sensitive.
Ce11PhoneHub Plans Please enter the number of phone lines you need (1-5):2 Line 1 Info: Do you need a phone with this line (y/n): y Do you want to purchase the phone outright (y/n): n Please enter 1 for Google, 2 for Samsung or 3 for iPhone: 1 Line 2 Info: Do you need a phone with this line (y/n): n Plans Summary Total cost for 2 years with plan A will be $3659.0 Total cost for 2 years with plan B will be $4221.0 Total cost for 2 years with plan C will be $5280.0

Leave a Reply

Your email address will not be published. Required fields are marked *