this post was submitted on 18 Aug 2023
597 points (96.1% liked)
Programmer Humor
19564 readers
1374 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Is this part of a Hi-Lo implementation for blackjack? (Also, ewww mixed types)
Yeah, just use a char for card and test
Or something, don't mix types.
Well that won't work for 7, 8 or 9.
I didn't notice that 7,8,9 had no effect on the count. My bad.