BLACKJACK: Given three integers between 1 and 11, if their sum is less than or equal to 21, return their sum. If their sum exceeds 21 and there's an eleven, reduce the total sum by 10. Finally, if the sum (even after adjustment) exceeds 21, return 'BUST'

截圖 2021-05-08 下午4.23.43.jpg

創作者介紹
創作者 Terror-P的部落格 的頭像
Terror-P

Terror-P的部落格

Terror-P 發表在 痞客邦 留言(0) 人氣( 2 )