| Title | Finding Adjacent Consecutive Numbers in a Sequence of Integers |
| Catalog Type | SLCItem |
| Persistent ID | https://acos.cs.vt.edu/html/acos-pcex/acos-pcex-examples/while_loops_j_check_adjacent__664e4c8091363872f0ba3818?index=1 |
| Platform Name | PCEX |
| Features | — |
| Description | Construct a program that checks whether a sequence of integers, entered one at a time, contains adjacent integers that are consecutive. The user enters -1 to indicate the end of the input.\nNote that integers which follow each other in order, without gaps, from smallest to largest are consecutive numbers. For example, 12, 13, 14 and 15 are consecutive numbers. |
| Keywords | — |
| Author | Mohammad Hassany |
| Institution | University of Pittsburgh |
| Iframe URL | https://acos.cs.vt.edu/html/acos-pcex/acos-pcex-examples/while_loops_j_check_adjacent__664e4c8091363872f0ba3818?index=1 |
| Protocol | SPLICE |
| Protocol URL | |
| License | MIT |
| Programming Language | JAVA |
| Natural Language | en |