Question: write a programe in c language.You are given an integer that doesnt have a digit zero in it, find whether the number is Evenish, Oddish,
write a programe in c language.You are given an integer that doesnt have a digit zero in it, find whether the number is Evenish, Oddish, Evenish-Oddish, or Neutral.
Oddish Number: A number is said to be Oddish if the number is divisible by all of its odd digits.
Evenish Number: A number is said to be Evenish if it is divisible by all of its even digits.
Evenish-Oddish Number: if a number contains both the properties of Evenish and Oddish then it is said to be Evenish-Oddish.
Neutral Number: If all of the above conditions are failed then the number is said to be neutral.
| Sample Input | --> | Sample Output |
| Number: 124 | --> | 124 is Evenish-Oddish Number |
| Number: 3448 | --> | 3448 is Evenish Number |
| Number: 138 | --> | 138 is Oddish Number |
| Number: 4256 | --> | 4256 is Neutral Number |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
