| Title | Modifying an Array (Case 2) |
| Catalog Type | SLCItem |
| Persistent ID | https://acos.cs.vt.edu/html/acos-pcex/acos-pcex-examples/arrays_j_array_change__664e3d8a91363872f0ba35b7?index=1 |
| Platform Name | PCEX |
| Features | — |
| Description | Construct a program that swaps pairs of adjacent elements of the array. For example, if the array is {1, 2, 3, 4, 5, 6}, the program will change it to {2, 1, 4, 3, 6, 5}.\nThis program assumes that the array has always an even number of elements. |
| Keywords | — |
| Author | Mohammad Hassany |
| Institution | University of Pittsburgh |
| Iframe URL | https://acos.cs.vt.edu/html/acos-pcex/acos-pcex-examples/arrays_j_array_change__664e3d8a91363872f0ba35b7?index=1 |
| Protocol | SPLICE |
| Protocol URL | |
| License | MIT |
| Programming Language | JAVA |
| Natural Language | en |