sunnie@lemmy.ca to Programmer Humor@programming.dev · 3 months agono amount of documentation can save users from themselveslemmy.caimagemessage-square79fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imageno amount of documentation can save users from themselveslemmy.casunnie@lemmy.ca to Programmer Humor@programming.dev · 3 months agomessage-square79fedilink
minus-squareVeganPizza69 Ⓥ@lemmy.worldlinkfedilinkarrow-up0·edit-23 months agoif ( parameters.teaMass <= TEA_BAG_WEIGHT ) { return "Error: incorrect input. Check if tea bag was inserted correctly into water container." }
minus-squaregnutrino@programming.devlinkfedilinkEnglisharrow-up0·3 months agoAnd then a users starts adding weights to the label until it passes.
if ( parameters.teaMass <= TEA_BAG_WEIGHT ) { return "Error: incorrect input. Check if tea bag was inserted correctly into water container." }
And then a users starts adding weights to the label until it passes.
#define TEA_BAG_WEIGHT 0