Computer programming on human algorithm, Programming Languages

Assignment Help:

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


Related Discussions:- Computer programming on human algorithm

HTML Form/JavaScript, I have a problem which seems to be quite a rare one a...

I have a problem which seems to be quite a rare one and I can safely say I know what exactly what is causing it. After some process of elimination I reached the conclusion that, in

Software application, Does anyone know anything about java programming here...

Does anyone know anything about java programming here?

Operating systems, list of 10 operating systems with their hardware specifi...

list of 10 operating systems with their hardware specification and also list any 5 software associated with each operating system

Output for the following instruction if CX=9087H AX=9090H, What will be the...

What will be the output for the following instruction if CX=9087H and AX=9090H? 1) BTR AH,2? 10010000=10010000 2) BTC CX,9?1001000010000111=1001000110000111 3) NEG AX?

The .net framework 3.5, Architecture and Components The .NET Framework 3.5 ...

Architecture and Components The .NET Framework 3.5 The .NET Structure (pronounced dot net) is an application framework that works generally on Enthusiasm Microsoft windows. It has

Depth estimation, depth estimation from block matching algorithm motion est...

depth estimation from block matching algorithm motion estimation

Calculate the appropriate weight for each query term, 1-Create ir3.py based...

1-Create ir3.py based on ir2.py 2-Repeatedly prompt the user for a query (if they enter "q", then quit) 3-Find the terms in the query, and calculate the appropriate weight fo

Write your own version of the strcmp function string_compare, Write your ow...

Write your own version of the strcmp function string_compare. Supply a main program that will test each of the 3 differing outcomes. int string_compare(char *s, cha

Program for a simple search engine, Introduction A search engine (like ...

Introduction A search engine (like Google) has three main components: a crawler that finds and stores copies of files on the web, an indexer that creates a data structure that

Project on automatic payments to employees, A large logistics company requi...

A large logistics company requires a software system to support the business processes associated with managing shift patterns of employees and making the associated payments. The

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd