java program

soumit dhawa asked 1 year ago

Write a program which will accept a minimum 5 digit number and do the up date as follows
Input : 5636789 Input : 34567
Output : 441414106 Output : 2510105
[ Hints : First write the sum of digit then add 1st and last digit , 2nd and 2nd last digit and so on .In case odd Digit number put the unpaired number at the end