Computer Science, asked by shreehari30, 8 months ago

Write a program to input a number and find out if it is single digit, double digit,
three digit or more than three digits. Display the output with proper messages.​

Answers

Answered by Anonymous
2

Answer:

Input : 1234

Output : 1

Explanation : The sum of 1+2+3+4 = 10,

digSum(x) == 10

Hence ans will be 1+0 = 1

Input : 5674

Output : 4

Similar questions