A Straight is one of the good poker hands that can be very valuable. It is made out of five cards of sequential ranking. The suits of the cards are not important when making a standard Straight.
A♥, K♦, Q♠, J♦, 10♣
Q♦, J♣, 10♥, 9♥, 8♠
7♥, 6♣, 5♥, 4♦, 3♣
Write a program to input five integers in the range [1,13] and determine if they are consecutive. Hint: Define an array of size 13 to count the frequency of each value in [1,13].
n n n n n
such that, 1 < n ≤ 13.
"a straight\n" or "not a straight\n"