ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 103 Weeks Ago, 2 Days Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 29 Apr 2017 My Price 9.00

CIS 115 Week 7 iLab — Sales Tax

CIS 115 Week 7 iLab — Sales Tax

 

To Get 100% Original and Plagiarism free work order us on below link

 

Order us at: https://hwguiders.com/custom-order/

 

Email us at: homeworkguiders@gmail.com

 

CIS 115 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.

Answers

(11)
Status NEW Posted 29 Apr 2017 06:04 AM My Price 9.00

-----------

Attachments

file 1493448988-Solutions file 2.docx preview (51 words )
H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly -----------onl-----------ine----------- an-----------d g-----------ive----------- yo-----------u e-----------xac-----------t f-----------ile----------- an-----------d t-----------he -----------sam-----------e f-----------ile----------- is----------- al-----------so -----------sen-----------t t-----------o y-----------our----------- em-----------ail----------- th-----------at -----------is -----------reg-----------ist-----------ere-----------d o-----------n -----------THI-----------S W-----------EBS-----------ITE-----------. ----------- Th-----------ank----------- yo-----------u -----------
Not Rated(0)