1. (12 points) Customer bill and Sales profit Cengage: Custom e... Candidate Home Marking: 4 marks...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
1. (12 points) Customer bill and Sales profit Cengage: Custom e... Candidate Home Marking: 4 marks for INPUT programming and loop; 2 marks each for calculation logic; 2 marks for output. A retail store has 40% mark up policy before tax for its profit. The store operates in a Canadian province where provincial sales tax (PST) is 7% and the Canada sales tax (GST) is 5%. Other business policies are: The store accepts manufacturing coupons which reduces the price a customer pays for a stock item before taxes and the discount is reimbursed to the store by the manufacturer. The store gives a 10% discount before taxes for staff purchase; a staff code > 0 is required to get. the discount. The store has a loyalty program that rewards customer with 10 points per $ spent before tax. Stock code starting with letter 'E' are tax exempt. An item with stock code 'A3453' is always on sales with a discount 15% before taxes when the customer purchase at least 2. There is a fixed shipping cost of $7.50 for online transaction less than $75; otherwise, shipping is. free. A. Write a program that asks a user to enter the following purchase details: (Using a loop until the last stock item is provided) A. Write a program that asks a user to enter the following purchase details: (Using a loop until the last stock item is provided) (a) Staff Code (Hint: use 0 for non-staff code and staff code > 0) (b) Stock code (c) Cost (d) Manufacturing coupon (e) Quantity and output the following: a. Total manufacturer coupon amount b. Staff discount c. Stock discount d. Total sales amount before tax e. Provincial sales Tax amount f. Canada General sales Tax amount (GST) g. Shipping cost h. The total amount paid by the customer i. The total reward points j. The profit on the transaction 1. (12 points) Customer bill and Sales profit Cengage: Custom e... Candidate Home Marking: 4 marks for INPUT programming and loop; 2 marks each for calculation logic; 2 marks for output. A retail store has 40% mark up policy before tax for its profit. The store operates in a Canadian province where provincial sales tax (PST) is 7% and the Canada sales tax (GST) is 5%. Other business policies are: The store accepts manufacturing coupons which reduces the price a customer pays for a stock item before taxes and the discount is reimbursed to the store by the manufacturer. The store gives a 10% discount before taxes for staff purchase; a staff code > 0 is required to get. the discount. The store has a loyalty program that rewards customer with 10 points per $ spent before tax. Stock code starting with letter 'E' are tax exempt. An item with stock code 'A3453' is always on sales with a discount 15% before taxes when the customer purchase at least 2. There is a fixed shipping cost of $7.50 for online transaction less than $75; otherwise, shipping is. free. A. Write a program that asks a user to enter the following purchase details: (Using a loop until the last stock item is provided) A. Write a program that asks a user to enter the following purchase details: (Using a loop until the last stock item is provided) (a) Staff Code (Hint: use 0 for non-staff code and staff code > 0) (b) Stock code (c) Cost (d) Manufacturing coupon (e) Quantity and output the following: a. Total manufacturer coupon amount b. Staff discount c. Stock discount d. Total sales amount before tax e. Provincial sales Tax amount f. Canada General sales Tax amount (GST) g. Shipping cost h. The total amount paid by the customer i. The total reward points j. The profit on the transaction
Expert Answer:
Related Book For
An Introduction To Statistical Methods And Data Analysis
ISBN: 9781305465527
7th Edition
Authors: R. Lyman Ott, Micheal T. Longnecker
Posted Date:
Students also viewed these programming questions
-
CANMNMM January of this year. (a) Each item will be held in a record. Describe all the data structures that must refer to these records to implement the required functionality. Describe all the...
-
This assignment requires you to complete the 2022 tax reporting for a fictional woman named Anna Smith. Question 1 T1 - step 4 - line 66 This is Anna's taxable income Answer: Question 2 T1 - step...
-
Utility is a type of function that occurs in eco-nomics. When a consumer receives a units of a product, a certain amount of pleasure, or utility U, is gained. The following represents a typical...
-
The Village Hat Shop Limited counted the entire inventory in its store on August 31 and arrived at a total inventory cost of $66,000. The count included $6,000 of inventory held on consignment for a...
-
Describe a local area network and its various components.
-
Identify six types of invalid data that you might use in testing cash disbursements.
-
Sue Reynolds has to decide if she should get information (at a cost of $20,000) to invest in a retail store. If she gets the information, there is a 0.6 probability that the information will be...
-
The way most countries measure the quality of life. Some countries determine the market value of all final goods and services and divide it by the population. In other words, most countries use the...
-
When coal is burned to form synthesis gas (syngas), which contains mostly CO, H 2 , H 2 S, and CO 2 , the H 2 S must be removed. The gas is called syngas because H 2 and CO are the building blocks...
-
What would your defined audience need to know in order to understand your explanation? (Artifact I am using for is Shopware, Found here:...
-
Which statement about the following code snippet is correct? A. One line does not compile. B. Two lines do not compile. C. Three lines do not compile. D. It compiles and prints two lines at runtime....
-
Which can fill in the blank to make the code compile? (Choose two.) A. class Quokka extends B. class Quokka implements C. Neither A nor B. Only one interface can be specified. D. interface Quokka...
-
Which statement about the following interface is correct? A. The code compiles. B. The method produceSap() does not compile. C. The method getNumberOfRings() does not compile. D. The method...
-
How many lines does the following code output? A. One. B. Two. C. Three. D. Four. E. None of the above. The code does not compile. public class Cars { private static void drive() { static { } }...
-
What are possible outputs of the following given that the comment on line X can be replaced by code? A. 0 B. 5 C. Either 0 or 5 D. Any int value E. Does not compile. // Mandrill.java public class...
-
K. Shiryayeva will receive $32,000 per year for the next 20 years (assume she receives the first payment one year from today) for her work as a short-order fry cook. What is the today's value of...
-
Uniform electric field in Figure a uniform electric field is directed out of the page within a circular region of radius R = 3.00 cm. The magnitude of the electric field is given by E = (4.50 x 10-3...
-
Refer to Exercise 11.1. a. Plot the equation Å· = .51 + 1.38x in the scatterplot produced in Exercise 11.1. Comment on how close this line is to the line you fitted through the points....
-
In the research study concerning the evaluation of interviewers decisions related to applicant handicap type, the raters were 70 undergraduate students, and the same male actors, both job applicant...
-
The administrator of a nursing home would like to do a time-and-motion study of staff time spent per day performing nonemergency tasks. Prior to the introduction of some efficiency measures, the...
-
Which of the following taxpayers is engaged in a specified service trade or business? (a) A lawyer (b) An architect (c) A professional soccer player (d) A freelance writer who publishes articles and...
-
D, a single taxpayer, holds a 25% ownership interest in an LLC that operates a department store. Ds allocable share of net operating income from the LLC is \($100,000\) for the year. D also works...
-
A and B form the AB equal general partnership. A contributes \($10,000\) cash and a depreciable asset with an adjusted basis of \($40,000\) and a fair market value of \($90,000.\) B contributes...
Study smarter with the SolutionInn App