Suppose we are talking about a mysterious number called Opaque Number. Any positive integer is Opaque Number if it has the following properties.  All digits of the number alternate between even and...


Suppose we are talking about a mysterious number called Opaque Number. Any
positive integer is Opaque Number if it has the following properties.
 All digits of the number alternate between even and odd.
 The first/last digit cannot be the highest digit in that number.
Your task is to take a positive integer number from user and find if it is Opaque
Number or not.
Sample Input Sample Output
1234 Not Opaque Number
1872 Opaque Number
501 Not Opaque Number
694 Opaque Number



Jun 04, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here