function countcard(number){ switch(number){ case 1: case 2: case 3: case 4: console.log("It is small") break case 5: case 6: console.log("It is mid") break case 7: case 8: case 9: console.log("It is huge") } } countcard(9)