1. a function input(int[] array) is given and we have to enter any number and the entered no. should convert into absolute no like 4578, 6789 , 1234 etc means the no should convert into incresing nos.
i think iam getting what you want..you want your array to be get converted in into single integer. for eg if int a[]={1,8,5,6}; then int x = 1568 is this you want? if not then post the full question here... thank you