Create a program for a windows company

Assignment Help Data Structure & Algorithms
Reference no: EM132125704

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++

Reference no: EM132125704

Questions Cloud

Design a program that let the user enter the total : SDEV 140 : Design a program that let the user enter the total rainfall for each of 12 months into an array.
How many entries will be considered before discovering : How many entries will be considered before discovering that the entry is not present? (Note that the list is in alphabetical order.)
Find the full names of supervisors together with the total : Find the full names of supervisors together with the total number of employees directly supervised by each one of them.
Analyze the complexity of is-perfectly-balanced : We say that a binary tree T is perfectly balanced if, for each node n in T , the number of keys in the left and right subtrees of n differ at most by 1.
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.
Find the solution to the recurrence in big-oh notation : Find the solution to the recurrence in big-Oh notation and prove it using the substitution method.
Find the parent process : Find the parent process (write the name down as you'll need it later) that is starting the bombs and kill it.
What should be the type of the return value of the method x : Consider the statement if ((a! = null)&&(a.x()))a.y(); What feature of the a && b makes it classify as a control structure? Rewrite this as 2 nested
How many ways are there for sally to select her 12 pieces : Sally goes into a candy store and selects 12 pieces of taffy. The candy store offers 75 varieties of taffy.

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Implement an open hash table

In this programming assignment you will implement an open hash table and compare the performance of four hash functions using various prime table sizes.

  Use a search tree to find the solution

Explain how will use a search tree to find the solution.

  How to access virtualised applications through unicore

How to access virtualised applications through UNICORE

  Recursive tree algorithms

Write a recursive function to determine if a binary tree is a binary search tree.

  Determine the mean salary as well as the number of salaries

Determine the mean salary as well as the number of salaries.

  Currency conversion development

Currency Conversion Development

  Cloud computing assignment

WSDL service that receives a request for a stock market quote and returns the quote

  Design a gui and implement tic tac toe game in java

Design a GUI and implement Tic Tac Toe game in java

  Recursive implementation of euclids algorithm

Write a recursive implementation of Euclid's algorithm for finding the greatest common divisor (GCD) of two integers

  Data structures for a single algorithm

Data structures for a single algorithm

  Write the selection sort algorithm

Write the selection sort algorithm

  Design of sample and hold amplifiers for 100 msps by using n

The report is divided into four main parts. The introduction about sample, hold amplifier and design, bootstrap switch design followed by simulation results.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd