Kodewick
Start learning →
Basic←→0 / 86

Members Ship Free

#075Basictotal >= 99 && member4 min

The shop's rule: free shipping only if the order is 99 or more **and** the buyer is a member — then show Free. Otherwise show Pay 8. This order is 120, but the buyer is not a member.

Should show
Pay 8
main.cpp
#include <iostream>
using namespace std;

int main() {
    int total = 120;
    bool member = false;
    // your code here: decide whether this order ships free
    return 0;
}
Ctrl + Enter runs too
Result

Run tries the examples. When they look right, Submit.