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

Give examples of at least three different types of bar

Give examples of at least three different types of bar graphs. Can the independent variable be depicted on both the vertical and horizontal axes? What are two ways multiple independent variables can be depicted in a bar ...

What is data mining in your answer address the followinga

What is data mining? In your answer, address the following: (a) Is it another hype? (b) Is it a simple transformation or application of technology developed from databases, statistics, machine learning, and pattern recog ...

1 imagine you are an sa system analystnbsp and you heard

1. Imagine you are an SA (System Analyst).  And you heard this at the water cooler at work between two IT employees: "Did you hear that the CEO wants to institutionalize the SDLC as our organizational project management ...

Windows management instrumentation is a comprehensive

Windows Management Instrumentation is a comprehensive technology that provides information about virtually every detail of a Windows computer system. It is so comprehensive that it is sometimes difficult to find the info ...

What is a security risk assessmentwhat elements does it

What is a Security Risk Assessment? What elements does it entail? Does it include or exclude Penetration Testing? What types of Security Risk Assessments exists? Identify at least 3

Using the data management methods discussed in this chapter

Using the data management methods discussed in this chapter, construct an expanded version of the NCS-R data set that could be used to fit a discrete time logit model to the age of onset of GAD. Generate a table showing ...

Suppose we are given the eight market baskets of fig 223a

Suppose we are given the eight "market baskets" of Fig. 22.3. a) As a percentage of the baskets, what is the support of the set {beer, juice}? b) What is the support of the itemset {coke, pepsi}? c) What is the confidenc ...

1 a junior storage systems administrator is given a new

1) A junior storage systems administrator is given a new project to decide what RAID level to place the new security system camera feed on. He decides on RAID6. Do you think this is a good idea? Why or Why Not? NOTE: Thi ...

Describe the entity-relationship model how are entities

Describe the entity-relationship model. How are entities, relationships, and attributes represented in this model? What is a composite entity? Describe the approach to diagrams that use a crow's foot. Describe how you wo ...

Given that the internet is a shared network discuss whether

Given that the Internet is a shared network, discuss whether preventing denial of service attacks is inherently possible or not possible. Do systems connected to the Internet violate the principle of least common mechani ...

  • 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

A cola-dispensing machine is set to dispense 9 ounces of

A cola-dispensing machine is set to dispense 9 ounces of cola per cup, with a standard deviation of 1.0 ounce. The manuf

What is marketingbullwhat is marketing think back to your

What is Marketing? • "What is marketing"? Think back to your impressions before you started this class versus how you

Question -your client david smith runs a small it

QUESTION - Your client, David Smith runs a small IT consulting business specialising in computer software and techno

Inspection of a random sample of 22 aircraft showed that 15

Inspection of a random sample of 22 aircraft showed that 15 needed repairs to fix a wiring problem that might compromise

Effective hrmquestionhow can an effective hrm system help

Effective HRM Question How can an effective HRM system help facilitate the achievement of an organization's strate