Codington
0 of 10 problems solved • 0%
Use in a course

Exercise prompt

Build a Shipping Decision

Combine a comparison and an earlier boolean value to choose a shipping message.

Your task

Shipping is free when the order total is at least 50 or the customer is a member. Otherwise it costs money.

Using the supplied values, display exactly:

Free shipping

Write the complete if and else statement yourself.