Is it possible to use switch case instead of if statements with the code below this text?
if number > 20 { ............ } if number > 30 { ............ } if number > 50 { ............ } if number > 70 { ............ }