C program to calculate sum of first and last digit

C program to calculate sum of first and last digit

Output:

Enter the number to find sum of first & last digit of the number: 1234
The sum of first & last digits in 1234 is 5

Implementation: