Pseudocode & Raptor
In this portion of the lab you will analyze a problem and create a Raptor program to solve it. (taken from Chapter 3, Programming Problems, #6). Read the following:
Write a program that allows the user to input a total dollar amount for an online shopping order and computes the shipping cost. Include in your output the shipping cost and the grand total for the order. Use the following schedule to determine the shipping cost:
Order Total Ship within USA Ship to Canada
Less than $50.00 $6.00 $8.00
$50.01 - $100.00 $9.00 $12.00
$100.01 - $150.00 $12.00 $15.00
Over $150.00 Free Free
Step 1: Analyze the problem. In the table below list the inputs, outputs and a one sentence description of the problem.
Input:
Problem Statement:
Output: