Barry's Actuallyyou'vealreadyseenoneusecaseoff a bullionvalueinmyifelsevideos.
Soifyou'reright, forexample, a goesthreeonbecauseoneandthenif a isgreaterthanbecolonfourspacesPrince a isgreatof, thenbethenthisclauserighthere a greatvillain B isevaluatedtobeeithertrueorfalseoninthisparticularcase, A, whichisthreeisgreaterthanbe, whichisone.
Sothisisevaluatedtobetrue.
Soit's sortoflikesaying, iftrue, themprinceisgradeof B.
Ah, inthisparticularcaseisgrade A B istrue, sothat's printedrighthere.
Canyouwrite a functioncalledSeeGreaterThan D Plus E, whichisgonnatakethreeIntissararguments C, D and E ondysfunctionshouldreturntoOnleywhen C isgreaterthan D plus e onotherwiseissuereturn.
False.
Somaybepossiblytworighthere.
Ifyouwanttotrysolvingthisproblemyourself.
Okay, here's mysolution.
HereYoucouldwriteifseegreat.
Um, theplus e calling, thenreturntrueandelseColinreturnedfalseonthisisjustfine.
Butyoucouldalsowriteitasreturnseegreaterthemtheplus e.
Andthisway, if C isgreaterthanthepolicy, thiswholeexpressionbecomestrue.