1. Engineering
  2. Computer Science
  3. aabbudl aabbr aabbccl ai 1igm itnormalno spac heading 1...

Question: aabbudl aabbr aabbccl ai 1igm itnormalno spac heading 1...

Question details

Aabbudl AaBbčr AaBbCcl . A,I- 1に▼Ig-m. ITNormal-No Spac Heading 1 Heading 2 Paragraph Styles Program 1: Design (pseudocode) and implement (source code) a program (name it EbencBitd that calculates the bil for a cellular telephone company The company offers two ypes of service: regular service and premium service. The rates vary depending on the type of service. The rates are computed as follows Regular service: $15.00 fee covering first 50 minutes. Charges for over 50 minutes are computed at the rate of 30.50 per minute. Prenium service: $25.00 fee plus: a. For daybime calls (between 6:00AM to 8:00PM), the first 50 minutes are free: charges for over 50 minutes are computed at the rate of 50.20 per minute b. For nighttime calls (between 6:00PM to 6:00AM)、the first 100 minutes are free charges for over 100 minutes are computed at the rate of 0.10 per minute. The program prompts the user to enter an account number, a service code (of type char), and the number of minutes th while code p (or P) means premium service If the service is premium (code p or P), the customer may be using the service during both the day and night. Therefore, the program must ask the user to input the number of minutes used during daytime and nighttime in separate prompts Document your code and properly label the input prompts and the outputs as shewn below Sample zun 1 Account Nunber Service type Total minutes: amount d e ; 12345 Regular $15.00 Account Sumber: Service type Daytine minutes: Fighepine minuses:200 Amoant due 82145 78654 Premiun ed Bervite type ighzcine minutes: 120 Emount due 329.00 (Ctrl) 0 ip

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution