Given the problem description, decompose the problem to list the
inputs required, any formulas required and the final output.
Then write the pseudo-code. Desk check your work. Write the
pseudo-code only.
Create a shipping charge program that will calculate the shipping charge for an item based on its weight.
If the item weighs less than 16 ounces, the shipping charge is a flat rate of 12.95. If the item weighs over 16 ounces, the shipping charge is the weight of the item minus 16 ounces multiplied by 30 % plus the flat rate.
Determine the charge, then output it.
Pseudo-code is the high level representation of actual code informaly.As the name indicate it is pseudo, means the code is not real.This helps programmers to develop actual code
Psudo-code
Get Answers For Free
Most questions answered within 1 hours.