| Title | Comparing Adjacent Numbers in a Sequence of Numbers (Case 2) |
| Catalog Type | SLCItem |
| Persistent ID | https://pawscomp2.sis.pitt.edu/pcex/pcex_v2/index.html?lang=PYTHON&set=py_check_adjacent&ch=py_adjacent_consecutive |
| 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 | while loop |
| Author | Kamil Akhuseyinoglu |
| Institution | University of Pittsburgh |
| Iframe URL | https://pawscomp2.sis.pitt.edu/pcex/pcex_v2/index.html?lang=PYTHON&set=py_check_adjacent&ch=py_adjacent_consecutive |
| Protocol | PITT, HTML |
| Protocol URL | |
| License | MIT |
| Programming Language | Python |
| Natural Language | en |