not getting the approach to insert the difference at odd indexes in the output string
Strings-difference in ascii codes
hi
u can simply apply a loop
loop{ from 0 to len(string)-1
and do
cout<<a[i]<<a[i+1]-a[i];
}
and the lest element
a[len-1]