Formal pseudo-code question?

john doe

New member
When calculating average of 5 ages, in my IF-THEN-ELSE statement is it possible to uses dashes ("-") to seperate an age group? Example;

IF customer age = 17-24 THEN
fav team <-- chi bears
ELSE
IF customer age =30-36 THEN
fav team <-- ny giants


Is there any way to specify a conditional mnemonic range without using dashes or is this completely wrong

Thanks to whoever answers
 
Back
Top