0

I have no idea how it will be created plz help me as long experience I have forgotten due to my illness.

Write a program to determine if the digits in a three digit number are all odd, all even, or mixed odd and even. Your program should prompt the user to input a three digit number. If the digits in the three number are all odd, write “ the number contains all odd digits”, if the digits are all even, write “the number contains all even digits”, if the number contains both even and add digits then print : the number contains both even and odd digits”. Use integer division and modulus operator to access digits in the number.