Write a program for XXX Phones, a provider of cellular phone service. Prompt a user for...

80.2K

Verified Solution

Question

Programming

Write a program for XXX Phones, a provider of cellular phoneservice. Prompt a user for maximum monthly values for talk minutesused, text messages sent, and gigabytes of data used, and thenrecommend the best plan for the customer’s needs. A customer whoneeds fewer than 400 minutes of talk and no text or data shouldaccept Plan A at $29 per month. A customer who needs fewer than 400minutes of talk and any text messages should accept Plan B at $35per month. A customer who needs 400 or more minutes of talk and nodata should accept either Plan C for up to 100 text messages at $45per month or Plan D for 100 text messages or more at $50 per month.A customer who needs any data should accept Plan E for up to 2gigabytes at $59 or Plan F for 2 gigabytes or more at $65. Save thefile as CellPhoneService.java

Again, Don’t forget to create the application/projectCellPhoneServiceTest.java Class that has the mainmethod and an object to use the CellPhoneServiceclass.

Answer & Explanation Solved by verified expert
3.7 Ratings (391 Votes)
import javautilScannerpublic class CellPhoneService private static final int PLANA 29private static final int PLANB 35private static final int PLANC 45private static final int PLAND 50private static final int PLANE 59private static final    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students