Posted by Bettie on Thursday, February 16, 2012 at 7:47am.
Basically programming is to express what you would do in a programming language.
This is what I would do if I did it by hand:
1. Tell me how much the order total
(example: $88)
2. Determine the destination
(example US)
3. Locate from the table the shipping cost (for US)
0-50 $6
50.01-100 $9
100.01-150 $12
over 150 free
Since $88 is within the 50.01 to 100 bracket, the shipping cost (to US) is $9.
4. Print "Shipping cost to US is $9 for an order of $88"
What I just wrote is called a pseudocode.
You will need to adapt this to the programming language of your choice.
Related Questions
Pseudocode programming - I need a currency conversion application. It does not ...
Computer programming - Sorting is a common operation used in programming. ...
Programming in c++ - Write a program in c++ that inputs a number [1-12] from the...
Programming - Design a program that calculates the total amount of a meal ...
Programming - Language - PYTHON Design a program that calculates the total ...
OOP PROGRAMMING - Write a program the inputs (from the user) the number of hours...
CIS Design and Programming - Design a program that calculates the total amount ...
Intro to programming - Tip, Tax and Total question? Design a program that ...
Programming - Write a program that inputs (from the user) the number of hours ...
Oop programming - Write a program that inputs (from the user) the number of ...
For Further Reading