Calculate total price of the items and the total tax added

Assignment Help Programming Languages
Reference no: EM131317942

Assignment

Write a narrative describing the objective of the program, and what each routine will do, including the reason for and purpose of the array(s), in addition to the selection statement and use of iterations

Explain the size and data types of the array structure you used.

Format your paper Consistent with APA guidelines. Provide appropriate in-text citations and References.

Write the pseudocode to

1) Accept and keep the inputted name of an item

2) Accept and keep the inputted price for that item

3) Query the user to deremine if they live in Orange or Oseola County

4) Accept and keep the indicated county

5) Based on the answer received, calculate and keep the appropriate sales tax

(8% for Orange County, 7% for Oseola)

All INPUT AND CALCULATIONS SHOULD BE STORED IN ARRAY(S)

Repeat steps 1 through 5 for the remaining two items.

NOTE: perform appropriate inpute validation to insure that only valid responses are accepted.

6) Calculate the total price of the items, and the total tax added

7) Calculate the total bill (items + tax)

8) Output the full receipt, with a line for each item and its associated price and sales tax, using the data stored in your arrays, followed by a line for the grand total of the items, the total sales tax, and the total transaction amount.

Using the 3 items you normally buy at a grocery store identified in week2, alter the program & paper to use iteration and selection statements.

In an APA formatted paper (APA Title page)

Write a narrative describing the objective of the program, and what each routine will do, including the reason for and purpose of the array(s), in addition to the selection statement and use of iterations

Explain the size and data types of the array structure you used.

Format your paper Consistent with APA guidelines. Provide appropriate in-text citations and References.

Write the pseudocode toL

1) Accept and keep the inputted name of an item

2) Accept and keep the inputted price for that item

3) Query the user to deremine if they live in Orange or Oseola County

4) Accept and keep the indicated county

5) Based on the answer received, calculate and keep the appropriate sales tax

(8% for Orange County, 7% for Oseola)

6) Create a line on the output receipt that identifies the item its price and the sales tax applicable to that item.

7) Keep a running total of item prices and taxes.

All INPUT AND CALCULATIONS SHOULD BE STORED IN ARRAY(S)

Repeat steps 1 through 5 for the remaining two items.

NOTE: perform appropriate inpute validation to insure that only valid responses are accepted.

Create a line on the output receipt that identifies the item its price and the sales tax applicable to that item.

Keep a running total of item prices and taxes.

8) Calculate the total price of the items, and the total tax added

9) Calculate the total bill (items + tax)

10) Output the full receipt, with a line for each item and its associated price and sales tax, using the data stored in your arrays, followed by a line for the grand total of the items, the total sales tax, and the total transaction amount.

Test the pseudocode to make sure that it executes properly and produces correct results.

Document the results in a table you design that describes each test condition and the results of that test. (Test Case Table)

Produce the Visual Logic file to execute the program defined by your pseudocode.

Reference no: EM131317942

Questions Cloud

What would her tax liability be for the year : Mary has earnings of $50,000 this year from her job. In addition, the market value of the condominium she owns increased from $100,000 to $105,000. She has no other capital gains or earnings, and receives no transfers. If Mary was subject to a compre..
Define physical evidence : When the fight began, there were 20 or so patrons in the lounge. When EMTs and police arrived on the scene, only two of the patrons and the bartender remained. Michelle and Sam were gone. The EMTs attempted CPR, but Joe was already dead. Two patro..
Construct a depreciation schedule : An asset has a value of $1,500 and a useful life of 5 years. Its trade-in value is $300. Use the amortized method to construct a depreciation schedule assuming that the interest rate is 5%.
Compute the z score for each company : Compute the Z score for each company.- According to the Altman model, which of these firms is most likely to experience financial failure?
Calculate total price of the items and the total tax added : Calculate the total price of the items, and the total tax added. Create a line on the output receipt that identifies the item its price and the sales tax applicable to that item.
What is probability of default implied by this information : Following the Detroit bankruptcy filing in mid-2013, yields on Detroit bonds increased to approximately 16 percent. Lenders ultimately received about 25 percent of the cash flows they were promised by Detroit. Assume that the expected return on risky..
Fine ounce of gold : The U.S. standard is $ 25.00 per fine ounce of gold. The U.K. standard is £ 5.00 per fine ounce of gold. Transatlantic shipping costs are $ 0.75 per fine ounce of gold. The spot rate is $ 4.80 / £ 1.00 How much profit per fine ounce can be earned..
Determining the spot rate : The U.S. standard is $ 25.00 per fine ounce of gold. The U.K. standard is £ 5.00 per fine ounce of gold. Transatlantic shipping costs are $ 0.75 per fine ounce of gold. The spot rate is $ 4.80 / £ 1.00 How much profit per fine ounce can be earned..
What is the yield on two-year treasury securities : The real risk-free rate is 2%. Inflation is expected to be 1.75% this year and 4.25% during the next 2 years. Assume that the maturity risk premium is zero. What is the yield on 2-year Treasury securities? What is the yield on 3-year Treasury securit..

Reviews

Write a Review

Programming Languages Questions & Answers

  Web programming

Work through the project instructions using the provided base files. Please note the detailed grading rubric included in the instruction document

  Create a menu type form that gives user to select subforms

Create a menu type form that provides the user the capability to select one of the following two subforms. Means of selection is programmers choice.

  Write the function day

Write the function day(d, m) where m is an integer from 1 through 12 expressing a month, and d is an integer from 1 through 31 expressing the day part of a date in 2014. The function should return the day name ('Mo', 'Su'.etc)

  How many database requests can you identify

Write the complete transaction(s).

  Implement a stack adt by writing a class called stack

Implement a stack ADT by writing a class called Stack. Use a static array to hold stack elements.  Instantiate the Stack class in the main function and provide a user loop and a menu so that all the Stack class member-functions, push, pop, etc.,

  Explain calling functions and pass functions by value

I need to create 2 functions which passe their values when they are called in main.

  Write a program that reads an input line from the user

Write a program that reads an input line from the user (until the new-line character \n) and displays the number of times each lower-case letter appears in it (Everything else in the input except lower-case letters can be ignored.)

  Discuss the triangle program

NextDate is a function of three variables: month, date, and year. It returns the date of the day after the input date. The month, date, and year variables have integer values subject to these conditions

  Complete the function function has three parameters

Complete the function: func in the following program. This function has three parameters: The first and second parameters are of type: int. The third one is a function that has two parameters of type: int and returns a value of type: int.

  How does the nist become so relevant

What is an insider threat, and how can this plague system security - how does the NIST become so relevant? Why?

  Write a program that simulates an airplane race

Write a program that simulates an airplane race. The program will display a table showing the speed in km/hour and distance in km traveled by two airplanes every second until one of them has gone 10 kilometers.

  Determine total cost of order-display it in alert dialog box

After you determine the total cost of the order (purchase plus shipping and handling), display it in an alert dialog box.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd