Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CREATE A PROGRAM USING C++ PROGRAM Recently, a telco company launched an attractive postpaid program. In this program you can select any three plans and

CREATE A PROGRAM USING C++ PROGRAMimage text in transcribed

Recently, a telco company launched an attractive postpaid program. In this program you can select any three plans and can buy a new smartphone with monthly installment for 24 months or 30 months contract. You are requested to develop a program that can produces the total price of the devices (smartphones), monthly commitment, and upfront payment. The program inputs are status of the customer (new or existing customer), number of devices (up to 2 devices only*), plan selection, device selection and duration of the contract (24 or 30 months). The plan fees and device monthly installments in this postpaid program is given as follow: Device [A] iP 12 [B] GN 20 (C) HP40 Plan RM 129 (24 mths) RM 129 (24 mths) PLAN 1 (80 GB monthly quota) - RM 188/mth RM 59 (24 mths) RM 40 (30 mths) RM 99 (30 mths) RM 99 (30 mths) RM 133 (24 mths) RM 149 (24 mths) RM 76 (24 mths) PLAN 2 (60 GB monthly quota) - RM 148/mth Not Available (30 mths) RM 119 (30 mths) RM 57 (30 mths) RM 138 (24 mths) RM 169 (24 mths) PLAN 3 (40 GB monthly quota) - RM 98/mth RM 96 (24 mths) RM 77 (30 mths) Not Available (30 mths) RM 139 (30 mths) *Term & Conditions: 1. New postpaid customer must pay 6 x Device monthly fee upfront. 2. More than 6 months but less than a year existing postpaid customer must pay 3 x Device monthly fee upfront. 3. Zero upfront payment for more than a year existing postpaid customer. 4. Only more than a year existing postpaid customer is eligible to add 2nd device and contract Hint: Use array in your program

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Securing SQL Server Protecting Your Database From Attackers

Authors: Denny Cherry

2nd Edition

1597499471, 978-1597499477

More Books

Students also viewed these Databases questions