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, 3 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 May 2017 My Price 7.00

Samuel GastelWeek 7 iLab—Sales TaxTCO

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.

 

Attachments:

Answers

(11)
Status NEW Posted 29 May 2017 01:05 AM My Price 7.00

-----------

Attachments

file 1496020504-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)