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

1 in tcp how do we define the sequence number of a segment

1. In TCP, how do we define the sequence number of a segment (in each direction)? Consider two cases: the first segment and other segments. 2. In TCP, we have two consecutive segments. Assume the sequence number of the f ...

1 implement the delete operation for the avl and 2-3 trees2

1. Implement the delete operation for the AVL and 2-3 trees. 2. Implement the Set ADT using an AVL search tree and evaluate the timecomplexity of each operation. 3. Implement a new version of the Color Histogram ADT to u ...

Question 1polybius was an ancient greek writer who first

Question 1 Polybius was an ancient Greek writer who first proposed a method of substituting different two-digit numbers for each letter. The alphabet is written inside a 5-by-5 square matrix which has numbered rows and c ...

1 redesign the ticketcounterclass to implement a generic

1. Redesign the TicketCounterClass to implement a generic simulation class from which a user can derive their own simulation classes. 2. Design, implement, and test a computer program to simulate the checkout at a grocer ...

Tracy swallow has a bright idea for avoiding the need to

Tracy Swallow has a bright idea for avoiding the need to store passwords securely. She suggests transforming the user's name with a key-driven cryptographic transformation using a systemwide "password key" and giving the ...

1 you know that the domain name of a computer is

1. You know that the domain name of a computer is "aBusiness.com". Write a statement in Java to create an InetAddress object associated with that computer. 2. You know that the IP address of a computer is "23.14.76.44". ...

A variation on the basic binary algorithm involves not

A variation on the basic binary algorithm involves not centering the algorithm around the lower and upper limits. Instead, two alternate parameters are maintained, one that points to the middle of the array segment still ...

Design an algorithm that generates all permutations of the

Design an algorithm that generates all permutations of the first n integers taken r at a time and allowing unrestricted repetitions. This is sometimes referred to as sample generation. The values of n and r must be great ...

One of the earlier applications of cryptographic hash

One of the earlier applications of cryptographic hash functions was the storage of passwords for user authentication in computer systems. With this method, a password is hashed after its input and is compared to the stor ...

1 implement the addtosortedlist function for use with the

1. Implement the addToSortedList() function for use with the linked list version of the insertion sort algorithm. 2. Create a linked list version of the indicated algorithm. (a) bubble sort (b) selection sort

  • 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

WalMart Identification of theory and critical discussion

Drawing on the prescribed text and/or relevant academic literature, produce a paper which discusses the nature of group

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