Computer Science, asked by mahatosanjay131, 9 months ago

write an algorithm and draw equivalent flowchart to find out sum of first and last digit of given number

Answers

Answered by snevin
1

Answer:

Write a C program to input a number and find sum of first and last digit of the number using for loop. How to find sum of first and last digit of a number in C programming using loop. Logic to find sum of first and last digit of a number without using loop in C program.

Example

Input

Input number: 12345

Output

Sum of first and last digit: 6

Similar questions