Ask Question, Ask an Expert

+1-415-315-9853

info@mywordsolution.com

Ask Computer Engineering Expert

Part I: You have been asked to prepare a computer program that will figure out the total of an order when given the amount of the order ($1000) and a sales tax rate of eight percent.  I want you to prepare the op codes and operands necessary to make this program run (Programming Assignment 2 has a list of all the op codes. Then prepare the visual basic script necessary for this program to run. Op codes are at the bottom of the last page.

Part II: For each of the following you will need to provide: a notepad file with the Problem Statement (Assumptions, Input, Calculations, Output), human algorithm,  a Flow chart .emf file using Visual Logic, and a JavaScript file using html kit (.htm file).

You have been tasked with writing a program for a hardware store. They sell home improvement supplies to employees, contractors and the general public. They have three different types of discounts. Employees get a 10% discount, orders over $800 get a 5% discount, and contractors get a 20% discount. A customer can get only one discount but they may be both an employee and a contractor (or neither)  so you want to be sure to give them the largest discount they have earned. The program will take in the total of the order, apply any discounts, apply 8% sales tax and come up with the final amount of the order. Customers over 90 years old do not have to pay sales tax. They want to see the amount of the original order, the amount of any discounts, the subtotal, the amount of tax (zero for old people) and the final amount of the bill.  Make sure you not only get the correct answer but your code is efficiently written. Don’t ask unnecessary problems and pay attention to how you nest your if statements.

TEST DATA that you can use to test your flowchart/code: (the age of the customer is in parentheses ():

1686_test data.jpg

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M9171

Have any Question? 


Related Questions in Computer Engineering

For this assignment you will be creating a package delivery

For this assignment, you will be creating a package delivery system. You need to think in terms of objects. The first object is the delivery truck that can store 50 liters of petrol. The cost per liter of petrol is 2.73$ ...

Charlie was just getting ready to head home when the phone

Charlie was just getting ready to head home when the phone rang. Caller ID showed it was Peter. "Hi, Peter," he said into the receiver. "Want me to start the file cracker on your spreadsheet?" "No, thanks," Peter answere ...

It is required to generate a histogram distribution for a

It is required to generate a histogram distribution for a set of daily average temperatures recorded in Antarctica. The temperatures are integer values in the range -40°C to +5°C. Design an algorithm to input n such temp ...

Would you recommend using the routing table that has a

Would you recommend using the routing table that has a default route or hasn't? Please explain the advantage and disadvantages.

1 assume that we are going to compute c on both a single

1. Assume that we are going to compute C on both a single core shared memory machine and a 4-core shared-memory machine. Compute the speedup we would expect to obtain on the 4-core machine, ignoring any memory issues. 2. ...

An isp is granted the block 807056021 the isp needs to

An ISP is granted the block 80.70.56.0/21. The ISP needs to allocate addresses for two organizations each with 500 addresses, two organizations each with 250 addresses, and three organizations each with 50 addresses. a. ...

1 what are the most important criteria for selecting an

1. What are the most important criteria for selecting an internetworking device? 2. What is the difference between single-mode and multimode fiber? Which is faster? 3. Why are QoS features often necessary in LAN switches ...

1 draw the pipeline execution diagram for this code

1. Draw the pipeline execution diagram for this code, assuming there are no delay slots and that branches execute in the EX stage. 2. Repeat 4.14.1, but assume that delay slots are used. In the given code, the instructio ...

1 for each mux show the values of its data output during

1. For each Mux, show the values of its data output during the execution of this instruction and these register values. 2. For the ALU and the two add units, what are their data input values? 3. What are the values of al ...

1 assuming that the l1 hit time determines the cycle times

1. Assuming that the L1 hit time determines the cycle times for P1 and P2, what are their respective clock rates? 2. What is the Average Memory Access Time for P1 and P2? 3. Assuming a base CPI of 1.0 without any memory ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Section onea in an atwood machine suppose two objects of

SECTION ONE (a) In an Atwood Machine, suppose two objects of unequal mass are hung vertically over a frictionless

Part 1you work in hr for a company that operates a factory

Part 1: You work in HR for a company that operates a factory manufacturing fiberglass. There are several hundred empl

Details on advanced accounting paperthis paper is intended

DETAILS ON ADVANCED ACCOUNTING PAPER This paper is intended for students to apply the theoretical knowledge around ac

Create a provider database and related reports and queries

Create a provider database and related reports and queries to capture contact information for potential PC component pro

Describe what you learned about the impact of economic

Describe what you learned about the impact of economic, social, and demographic trends affecting the US labor environmen