Complementary task for topic: 2
M Nemeth · 2023-08-29 15:21:04.614221'
control task: loops I.
control task: loops I.
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
Hint: Controls has no solution, you can check your solution if works or not!
Solution
No Solution
Explanation
-