The program should display the total amount a customer owes


The scenario is to create a program for a windows company. The program should display the total amount a customer owes, given the number of windows ordered and the price per window.

Total owed is calculated by multiplying the number of windows ordered by the price per window. Several times during the year, the company has a BOGO( buy one, get one free) offer.

Additional information:

Examples using regular pricing-

number of windows =11

price per window = 300

total owed (11 * 300): 3300.00

Examples using BOGO pricing-

Number of Windows :15

Price per window: 200

total owed ( 8 * 200): 1600.00

The program also has to be modified by changing the 2 void functions used to get regular price and to get the BOGO price, to value returning functions

Edit: language is C++

Request for Solution File

Ask an Expert for Answer!!
Data Structure & Algorithms: The program should display the total amount a customer owes
Reference No:- TGS02919156

Expected delivery within 24 Hours