Adjacent item in a array

Adam D. Ruppe destructionator at gmail.com
Sat Feb 3 19:19:00 UTC 2018


On Saturday, 3 February 2018 at 19:13:05 UTC, Vino wrote:
>  Request you help on printing an array in below,

Try looping through the array printing the current item followed 
by the item after the current item. Foreach with index may be 
helpful. Consider what happens on the last element.


More information about the Digitalmars-d-learn mailing list