Popular repositories Loading
-
-
-
Going-up
Going-up PublicRead an arbitrarily long sequence of positive numbers from the user, until -1 is entered. At that point, print ”Yes” if the numbers were consecutive and increasing and ”No” otherwise. Sequences ”1,…
Java
-
YouSayHigh
YouSayHigh PublicModify your former program so that it outputs ”Yes” when the numbers are consecutive, regardless of whether they go up or down. For example, both ”2,3,4,5,6,-1” and ”10,9,8,7,-1” should now result …
Java
-
PokerHands
PokerHands PublicRead five cards from the user. For each card, read the rank (1,2,3,4,5,6,7,8,9, 10,J,Q,K) and the suit (”spades”, ”hearts”, ”diamonds”, ”clubs”). Each of the five cards must be valid before accepti…
-
If the problem persists, check the GitHub status page or contact support.
