Write a program in java to input a number and count the number of digits. The program further checks whether the number contains odd number of digits or even number of digits.
Sample Input: 749
Sample Output: Number of digits=3
The number contains odd number of digits.
Answers
Answered by
1
Answer:
here the answer atechment.
Attachments:
Similar questions
Computer Science,
5 months ago
Art,
5 months ago
Social Sciences,
5 months ago
Math,
10 months ago
English,
10 months ago
Environmental Sciences,
1 year ago