Best writers. Best papers. Let professionals take care of your academic papers

Order a similar paper and get 15% discount on your first order with us
Use the following coupon "FIRST15"
ORDER NOW

Name: Samuel GastelWeek 7 iLab—Sales TaxTCO 3: Given a simple problem, design and desk-check a solution algorithm requiring a modulardesign that is expressed in terms of pseudocode or program notes

Hi! I need some help with this assignment. I’ve attached a blank document and need for it to be filled out. The

only thing I’ve included is my name at the top. Thank you for your help in advance!

Name: Samuel GastelWeek 7 iLab—Sales TaxTCO 3: Given a simple problem, design and desk-check a solution algorithm requiring a modulardesign that is expressed in terms of pseudocode or program notes, input-process-output (IPO) analysis,and flow chart.TCO 7:Given a program with logic errors that is intended as a soluTon to a simple problem, employdebugging diagnosTcs to remove and correct the errors.TCO 8: Given a more complex problem, develop a complete solution that includes a comprehensivestatement of the problem, complete program design, and program documentation.ScenarioYour algorithm will write two functions called ComputeTotal( ) and ComputeTax( ).ComputeTotal( ) will receive the quantity of items purchased, and the unit price of each item.It will return the total sales (quantity times price).ComputeTax( ) will receive total sales as a number and the state as a string and return theamount of tax depending on the state.NJrequires 7% tax,FLrequires 6% tax, andNYhas 4% tax.The main program will ask for the name of the customer and read the name in a variablecalledname.It will also ask for one of the three states listed above. It will ask for the numberof items sold and the unit price of the item.Main will then call ComputeTotal( ), passing the quantity and unit price. Main will then callComputeTax( ), passing the state and the amount of sales and receive back the tax. FinallyMain( ) will print out the total sales, the tax amount, and the total with taxes. For example, seebelow.Enter the name of the customer:JackIn which state (NY / NJ / FL) ?NJHow many items were purchased?:3What was the unit price of the items?:1.50The total sales for Jack are $4.50The total with taxes is $4.82Make sure you save the return values into an appropriate variable. Use formattedoutput to make the program more user friendly.Be sure to think about the logic and design first (IPO chart, pseudocode, and flowchart), thencode the C# program.
Background image of page 1
 
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"