Cash-back offer from April 23rd to 27th, 2024: Get a flat 10% cash-back credited to your account for a minimum transaction of $50.Post Your Questions Today!

Question DetailsNormal
$ 32.00

CIS115 Week 7 iLab Sales Tax | Complete Solution

Question posted by
Online Tutor Profile
request

Week 7 iLab—Sales Tax


TCO 3: Given a simple problem, design and desk-check a solution algorithm requiring a modular design 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 solution to a simple problem, employ debugging diagnostics to remove and correct the errors.

TCO 8: Given a more complex problem, develop a complete solution that includes a comprehensive statement of the problem, complete program design, and program documentation.
Scenario

Your 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 the amount of tax depending on the state. NJ requires 7% tax, FL requires 6% tax, and NY has 4% tax.
The main program will ask for the name of the customer and read the name in a variable called name. It will also ask for one of the three states listed above. It will ask for the number of items sold and the unit price of the item.
Main will then call ComputeTotal( ), passing the quantity and unit price. Main will then call ComputeTax( ), passing the state and the amount of sales and receive back the tax. Finally Main( ) will print out the total sales, the tax amount, and the total with taxes. For example, see below.
Enter the name of the customer: Jack       
In which state (NY / NJ / FL) ? NJ       
How many items were purchased?: 3         
What was the unit price of the items?: 1.50

The total sales for Jack are    $4.50
The total with taxes is $4.82    

Make sure you save the return values into an appropriate variable. Use formatted output to make the program more user friendly.

Be sure to think about the logic and design first (IPO chart, pseudocode, and flowchart), then code the C# program.


Rubric


Point distribution for this activity:
Lab Activity
Document    Points possible    Points received
Variable list & IPO chart    10    
Hierarchy Chart    15    
Working program    25    
Total Points    50    


 
1—Variable List With Data Type & IPO Chart
List all variables you will use (use valid variable names). Indicate whether the data type is string, integer, or double, and so on.


IPO Model
List the inputs, any processes/calculations, and the outputs. Use the same valid variable names you used in Step 1.

Inputs    Process (calculations)    Outputs
 
3—Hierarchy Chart
Use MS Visio to create a hierarchy chart. Paste the hierarchy chart here, or attach it as a separate document.

5—C# Code
Screenshot of Running Program
Zipped Project File (submitted to DropBox)

Copy/paste your C# code here.

Paste a screenshot(s) of the complete working program here. Use test scenarios to test all possible paths of execution.

Submit a separate zipped file to the Dropbox containing the complete project folder.

Available Answer
$ 32.00

[Solved] CIS115 Week 7 iLab Sales Tax | Complete Solution

  • This solution is not purchased yet.
  • Submitted On 20 Dec, 2015 01:40:18
Answer posted by
Online Tutor Profile
solution
Your algorithm will write two functions called ComputeTotal( ) and ComputeTax( ). ComputeTotal( ) will r...
Buy now to view the complete solution
Other Similar Questions
User Profile
Guard...

CIS115 Week 4 iLab—Grade Calculator | Complete Solution | Scored 100%

List all the variables you will use (use valid variable names). Indicate whether the data type is string, integer, or double, and so on.

TheStudentNumber as   Integer
firstName as   String ar...

User Profile
Guard...

CIS115 Week 3 Exercise | Complete Solution | Scored 100%

Start
Declare integer TheMonthNumber
Declare array string months = {"January", "February", "March", "April", "May",
"June", "July", "...

User Profile
homew...

CIS115 Week Lab Solution (v1.0)

1. Problem Description (v1.0) A small startup software developer company needs to create a program that will calculate the pay of its employees. For the first version of the program, the company wants the program to accept an...
User Profile
homew...

CIS115 Week 1 Lab

You have an idea for a restaurant tip calculator app that you want to develop to use on your mobile phone when you go out to eat. You can enter the amount of the check before taxes, the tax rate, and the tip percentage. It sh...
User Profile
Exper...

CIS115 Week 7 iLab Sales Tax | Complete Solution

Your 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 ...

The benefits of buying study notes from CourseMerits

homeworkhelptime
Assurance Of Timely Delivery
We value your patience, and to ensure you always receive your homework help within the promised time, our dedicated team of tutors begins their work as soon as the request arrives.
tutoring
Best Price In The Market
All the services that are available on our page cost only a nominal amount of money. In fact, the prices are lower than the industry standards. You can always expect value for money from us.
tutorsupport
Uninterrupted 24/7 Support
Our customer support wing remains online 24x7 to provide you seamless assistance. Also, when you post a query or a request here, you can expect an immediate response from our side.
closebutton

$ 629.35