Ask your own question, for FREE!
Computer Science 15 Online
OpenStudy (anonymous):

how can i write a "24 points" game in PASCAL?

OpenStudy (anonymous):

what's 24 points game?

OpenStudy (anonymous):

when we play the pokers we choose 4 cards and each of them represents a number. likeA=1 J=11 Q=12 K=13 et. so we choose from 1~13(four of them,randomly) to compose 24,for ex: my cards are 3 4 A A ,the same as 3 4 1 1 ,and 3*4*(1+1)=24 ; if they are 3 2 1 2 ,the answer will be 2^3 *(1+2)=24. we can use + _ * / and exponent. and the goal is to form a 24

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!