← Back to If Statements
Question 217
Free Shipping Threshold
Free Shipping Threshold
Read an order total in dollars and decide the shipping: a total of 50.00 or more prints Free shipping, anything smaller prints Shipping is 6.99. Input: one line, the total as a decimal number, no prompt. Output: one line.
Expected Output:
Free shipping= newline. The output ends with a newline — print one after the last line.
Hints3 available
Sign in to use hintsTopics:
If Statements
1
Tab to indent (Esc then Tab to move on) · Ctrl+Enter to run · Ctrl+Space to expand shortcuts (pr, inp, def)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.