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

A show that the normalized uniform periodic b -splines

a. Show that the normalized uniform periodic B -splines satisfy b. If an object of uniform density is approximated by the polygon obtained by joining the adjacent control points by straight lines, find the expressions fo ...

Write a c program that fills random squares of 3 by 3 with

Write a C++ program that fills random squares of 3 by 3, with unique numbers from 1 to 9, and tests if the generated matrix forms a Magic Squares. Your program should loop until  three magic squares  are generated and  p ...

We investigate the weaknesses that arise in elgamal

We investigate the weaknesses that arise in Elgamal encryption if a public key of small order is used. We look at the following example. Assume Bob uses the group Z∗ 29 with the primitive element α = 2. His public key is ...

1 draw the recursive call tree for the printrev function

1. Draw the recursive call tree for the printRev() function from Section 10.1 when called with a value of 5. 2. Determine the worst case run time of the recursive factorial function. 3. Determine the worst case run time ...

1 a bss id bssid is a 48-bit address assigned to a bss in

1. A BSS ID (BSSID) is a 48-bit address assigned to a BSS in an 802.11 network. Do some research and find what the use of the BSSID is and how BSSIDs are assigned in ad hoc and infrastructure networks. 2. Do some researc ...

The problem of the dutch national flag involves starting

The problem of the Dutch national flag involves starting out with a row of n buckets, i.e. bucket [1..n], each bucket containing a single pebble that is either red, white or blue. The task is to arrange the pebbles so th ...

Write a java program that allows to generate a random

Write a java program that allows to: Generate a random integer number between 20 and 100. Ask the user to find the number by giving propositions (or guessing). The program gives feedback to the user if the proposed numbe ...

Compare and contrast routers switches and wireless access

Compare and contrast Routers, Switches and Wireless access points. Define each and explain how each would be interconnected in a network. Draw a network diagram illustrating how each device would be used to hook up a sma ...

Compute the first two output bytes of the lfsr of degree 8

Compute the first two output bytes of the LFSR of degree 8 and the feedback polynomial from Table 2.3 where the initialization vector has the value FF in hexadecimal notation.

In a typical vector adt the size of the underlying array

In a typical Vector ADT, the size of the underlying array decreases after a sufficient number of items have been removed. Devise a strategy for decreasing the size of the array as items are removed. Modify your implement ...

  • 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