Do you mean split each element of the array a[] as you've described, not just a[0]? If so you could do something like the elementary approach I've outlined below. There are more clever ways to...