Question: Write a c program, You are given an integer that doesnt have a digit zero in it, find whether the number is Evenish, Oddish, Evenish-Oddish,

Write a c program, You are given an integer that doesnt have a digit zero in it, find whether the number is Evenish, Oddish, Evenish-Oddish, or Neutral.  Write a c program, You are given an integer that doesnt

You are given an integer that doesn't 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 Number: 124 Sample Output 124 is Evenish-Oddish Number Number: 3448 3448 is Evenish Number Number: 138 138 is Oddish Number Number: 4256 4256 is Neutral Number Parta) Provide at least two sample input and output [2 marks] Part b) Descriptive solution [upto 3 marks] OR step-wise pseudo-code (may or may not be executable) (upto 8 marks] OR Submit executable program code with proper indentation and comments (using C Language) (upto 13 marks]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!