Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Programming Language Expert

1.  You have been asked to write a computer program that will figure out the total of an order when given the amount of the order ($200) and a sales tax rate of five percent.  I want you to write the op codes and operands necessary to make this program run (Programming Assignment 2 has a list of all the op codes. Then write the visual basic script necessary for this program to run.

For each of the following 2 and 3 you will need to provide:   a notepad file with the Problem Statement (Assumptions, Input, Calculations, Output), a separate notepad file with the Human Algorithm, a Flow chart using Visual Logic, and a vb script using html kit (.htm file).

2.  You have been tasked with writing a program for a lumber yard.  They sell lumber to employees, contractors and the general public. They have three different types of discounts.  Employees get a 5% discount, orders over $500 get a 10% discount, and contractors get a 25% discount.  A customer can get only one discount.  The program will take in the total of the order, apply any discounts, apply 6% 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.

If then this is the output:

a 55 year old employee who is a registered contractor makes a $1,000 order

A 96 year old customer makes a $1000 order.

A 60 year old employee makes a $500 order

original price was $1,000.00
discount was  $250.00
subtotal is  $750.00
tax is  $45.00
final price is  $795.00

Original Price:  $1000
discount:  $100
subtotal:  $900
tax:  $0
final price:  $900

Original Price:  $500
discount:  $25
subtotal:  $475
tax:  $28.50
final price:  $503.50

3. You have been tasked to write a computer program for a landscaping trucking company to help them figure out how much to pay their drivers.  All drivers are paid $100 per load of fill dirt.  They will get paid a $10 bonus on all loads transported over the basic 12 loads per day.  The premium jumps to a $15 premium on all loads transported over 18 loads per day.  The user will let you know how many loads a driver completed during that day and your program will calculate the total pay for the driver. They way to see the total number of loads a drive made and the total amount to be paid. 

So, if a diver drives 20 loads they receive $1200 for the first 12 loads, they receive $110 per load for loads 13 through 18 ($660) and $115 for loads 19 and 20 ($230) for a total of $2,090.00

Programming Language, Programming

  • Category:- Programming Language
  • Reference No.:- M9524683

Have any Question?


Related Questions in Programming Language

Task - hand execution of arraysoverviewin this task you

Task - Hand Execution of Arrays Overview In this task you will demonstrate how arrays work by hand executing a number of small code snippets. Instructions Watch the Hand Execution with Arrays video, this shows how to ste ...

Extend the adworks applicationi add dialogs to allow the

Extend the AdWorks application I. Add Dialogs to allow the user to Add, Edit, Read and Delete a Customer and refresh the view accordingly. 1. The user should be able to select a specific customer from the DataGrid and cl ...

Assignment task -q1 a the fibonacci numbers are the numbers

Assignment Task - Q1. (a) The Fibonacci numbers are the numbers in the following integer sequence, called the Fibonacci sequence, and are characterised by the fact that every number after the first two is the sum of the ...

Assignment - haskell program for regular expression

Assignment - Haskell Program for Regular Expression Matching Your assignment is to modify the slowgrep.hs Haskell program presented in class and the online notes, according to the instructions below. You may carry out th ...

Background informationthis assignment tests your

Background Information This assignment tests your understanding of and ability to apply the programming concepts we have covered throughout the unit. The concepts covered in the second half of the unit build upon the fun ...

Assignmentquestion onegiving the following code snippet

Assignment Question One Giving the following code snippet. What kind of errors you will get and how can you correct it. A. public class HelloJava { public static void main(String args[]) { int x=10; int y=2; System.out.p ...

Overviewthis tasks provides you an opportunity to get

Overview This tasks provides you an opportunity to get feedback on your Learning Summary Report. The Learning Summary Report outlines how the work you have completed demonstrates that you have met all of the unit's learn ...

Question - create a microsoft word macro using vba visual

Question - Create a Microsoft Word macro using VBA (Visual Basic for Applications). Name the macro "highlight." The macro should highlight every third line of text in a document. (Imagine creating highlighting that will ...

Structs and enumsoverviewin this task you will create a

Structs and Enums Overview In this task you will create a knight database to help Camelot keep track of all of their knights. Instructions Lets get started. 1. What the topic 5 videos, these will guide you through buildi ...

Task silly name testeroverviewcontrol flow allows us to

Task: Silly Name Tester Overview Control flow allows us to alter the order in which our programs execute. Building on our knowledge of variables, we can now use control flow to create programs that perform more than just ...

  • 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

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As