number is: 342
then sum of square of digit is 29
printf("Sum of sqaure of digit is %d",sum);
Sum of square of digit is 8
Sum of sqaure of digit is 25
-In this program, we take an input of the integer number in variable 'n',
-then we run the while loop to break each digit of the number and add in sum variable with square.