Write a program to input a number and count the numbers of digits.the program further checks whether the number contains odd number of digits or even number of digits
Answers
Answered by
4
Explanation:
Print Yes If: If number contains even digits even number of time Odd digits odd number of times Else Print No ... Input : 22233 Output : NO count_even_digits = 3 count_odd_digits = 2 In ... C++ program to count.
Answered by
1
Print Yes If: If number contains even digits even number of time Odd digits odd number of times Else Print No ... Input : 22233 Output : NO count_even_digits = 3 count_odd_digits = 2 In ... C++ program to count.
Similar questions