Note: The underlined values below are values that are entered by the user.

Sample run #1

Welcome to Terrier Shipping!

Available shipping types:
  1) one-day
  2) two-day
  3) standard

What type of shipping? (enter the number) 1

Item type:
  B) book
  C) clothing
  E) electronics
  T) toy

What type of item? (enter the letter or Q to quit) T
Weight of item? 10

Item type:
  B) book
  C) clothing
  E) electronics
  T) toy

What type of item? (enter the letter or Q to quit) B
Weight of item? 2

Item type:
  B) book
  C) clothing
  E) electronics
  T) toy

What type of item? (enter the letter or Q to quit) C
Weight of item? 1

Item type:
  B) book
  C) clothing
  E) electronics
  T) toy

What type of item? (enter the letter or Q to quit) Q

The total charge is: $35.07


Sample run #2 (user inputs are underlined)
Welcome to Terrier Shipping!

Available shipping types:
  1) one-day
  2) two-day
  3) standard

What type of shipping? (enter the number) 3

Item type:
  B) book
  C) clothing
  E) electronics
  T) toy

What type of item? (enter the letter or Q to quit) E
Weight of item? 5

Item type:
  B) book
  C) clothing
  E) electronics
  T) toy

What type of item? (enter the letter or Q to quit) C
Weight of item? 3

Item type:
  B) book
  C) clothing
  E) electronics
  T) toy

What type of item? (enter the letter or Q to quit) Q

The total charge is: $9.08


Sample run #3
Welcome to Terrier Shipping!

Available shipping types:
  1) one-day
  2) two-day
  3) standard

What type of shipping? (enter the number) 2

Item type:
  B) book
  C) clothing
  E) electronics
  T) toy

What type of item? (enter the letter or Q to quit) T
Weight of item? 3

Item type:
  B) book
  C) clothing
  E) electronics
  T) toy

What type of item? (enter the letter or Q to quit) B
Weight of item? 1

Item type:
  B) book
  C) clothing
  E) electronics
  T) toy

What type of item? (enter the letter or Q to quit) E
Weight of item? 8

Item type:
  B) book
  C) clothing
  E) electronics
  T) toy

What type of item? (enter the letter or Q to quit) Q

The total charge is: $20.06