Question: C# FRAMEWORK: using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace PurchaseApp { class PurchaseCalc { public static void Main() { // You aren't provided

C#

C# FRAMEWORK: using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace PurchaseApp

{ class PurchaseCalc { public static void Main() { // You aren't

provided with any example code for this exercise // Your task is

FRAMEWORK:

using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace PurchaseApp { class PurchaseCalc { public static void Main() { // You aren't provided with any example code for this exercise // Your task is to write this program from scratch Console.WriteLine(" Hit Enter to exit."); Console.ReadLine(); } } }

our task is to create a console application that allows for the calculation of the total amount due for purchases. This application should allow any number of items to be entered, and hould then determine the total due including sales tax and shipping. The following rules are used to determine the amount due There is a global sales tax of 10.0%. Shipping charges are determined based on the number of items order less than 3-S3.50 between 3 and 6 $5.00 between 7 and 10 - S7.00 between 11 and 15-S9.00 more than 15- S10.00 program should display a welcome message, and ask the user to press 'enter' to begin. They can then enter the cost of any number of items. They will be asked to enter the then asked if they want to continue entering more items by entering Y or 'y' to continue, or 'N or 'n' to stop. Remember that you must use Console.ReadLine() here, t Console.ReadKey () If the user enters a non-numeric input for the price of an item, they should be prompted to re-enter If the user enters a negative input for the price of an item, they should be prompted to re-enter .An item price of SO is okay. e program should continue to ask for input until N or 'n is entered to stop. Once the program has stopped, it should display a sales receipt with the total purchases, the sales tax, the number of items purchased, the shipping charge, and then the grand total. or example, this would be the receipt for 3 items of cost $8, S10, and S20 Sales Receipt Total Purchases: $38.00 Sales Tax: $3.80 Number of Items Purchased: Shipping charge: $5.00 Grand Total: $46.80 lease be careful to make sure that your receipt displays correctly, especially that it writes exactly Total Purchases:,Sales Tax:, Number of Items Purchased hipping charge:, and Grand Total

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!