Computer Science, asked by pacrat7957, 1 year ago

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 ibolbam
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 AtulKantsingh
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