Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q.2: A home hardware company sells contractors garage door openers that retail for a certain price. (10 points ) Write a C# Console Application that

Q.2: A home hardware company sells contractors garage door openers that retail for a certain price. (10 points ) Write a C# Console Application that does the following: In the main method, ask the user to enter the quantity of the garage openers ordered by a contractor, the unit price and the credit that the contractor has with the company. There is a fixed discount rate going on ( 10 % or 0.10). In the main, call a method (calculateOrders) that takes the user inputs and the total charge. In the calculateOrders calculate the total charge, subtracting the discounted amount, adding the tax (which is additional 13% or 0.13 applied after the discount) then subtracting the credit. You should pass the total charge as a reference so you can print it out in the main method do NOT use the keyword return inside calcualteOrders. use C code for currency ,P code for percent, F code for rounding.

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

Step: 3

blur-text-image

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

Concepts of Database Management

Authors: Philip J. Pratt, Mary Z. Last

8th edition

1285427106, 978-1285427102

More Books

Students also viewed these Databases questions