If a five-digit number is input through the keyboard, write a program to print a new number by adding one to each of its digits. For example if the number that is input is 86932 then the output should be displayed as 97043.
printf("Enter a five digit number\n");
printf("Result is %ld",num,new);
Amit Ranjan is from Sitamarhi. He completed his BCA from S.R.K.G college, Sitamarhi. Now he is currently working in Finesse WebTech as Online Marketing Executive. He love listening music, watching movies, net surfing and sketching in his free times.