sunnie to Programmer [email protected] • 4 months agono amount of documentation can save users from themselveslemmy.camessage-square82fedilinkarrow-up11.24K
arrow-up11.24Kimageno amount of documentation can save users from themselveslemmy.casunnie to Programmer [email protected] • 4 months agomessage-square82fedilink
minus-squareVeganPizza69 Ⓥlinkfedilink14•edit-24 months agoif ( parameters.teaMass <= TEA_BAG_WEIGHT ) { return "Error: incorrect input. Check if tea bag was inserted correctly into water container." }
minus-square@[email protected]linkfedilinkEnglish9•edit-23 months agoAnd then a user 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 user starts adding weights to the label until it passes.
unlikely
#define TEA_BAG_WEIGHT 0