Question
Write a java program to calculate phone bill. It includes rates for two different services: Servvice 1 Regular Choice Plan: $20.00 plus 50 minutes free.
Write a java program to calculate phone bill. It includes rates for two different services: Servvice 1 Regular Choice Plan: $20.00 plus 50 minutes free. charges over 50 minutes are computed at a rate of $.30 per min. Service 2: $25.00 fee plus a daytime call from 7am to 7pm, the first 65 minutes are free. For night from 7pm to 7am first 60 mins are free. charges overage are calculated at .05 per mins
Prompt user to enter account #, integer type for service code, bill amount due, and minutes used. service 1 service code is 0. Service 2 service code is 1.
customer may use service 2 during day and night.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started