Hiya - so I’ve tried this two ways both with a result of 0Hold:
case (card >=2 && card <= 6):
count += 1;
break;
case (card >= 7 && card <=6):
count++;
break;
case (card =10 || ('J', 'Q', 'K', 'A')):
count--;
break;
}
if (count > 0){
return count + "Bet";
}
else {
return count + "Hold";
And this way with the same if else declarations:
```switch (card) {
case 2:
case 3:
case 4:
case 5:
case 6:
count +=1;
break;
case 7:
case 8:
case 9:
count += 0;
break;
case 10:
case 'J':
case 'Q':
case 'K':
case 'A':
count --;
break;
I've read every post on this and understand all the solutions people have come to but can't seem to pass this challenge. Any tips / guidance would be appreciated!