4. Write a program to input an integer and check whether it is a 4-digit, 3-
digit, 2-digit or single-digit number. If the number is 3-digit find sum of first
and last digit.
a. Sample input- 3456
Sample output-It is a 4-digit number.
b. Sample input-356
Sample output. It is a 3-digit number.
sum of first and last digits- 3+6= 9
Answers
Answered by
0
Answer:
in which programing language??
Similar questions