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