playing the video game Methods of Math Destruction. In order to get to the next level you
Fantastic news! We've Found the answer you've been seeking!
Question:
playing the video game Methods of Math Destruction. In order to get to the next level you must discover the access code. The game gives you the following clues:
- the number is a four digit number
- all four digits of the number are different
- the digit in the ones place is the square root of the digits in the tens and ones places (e.g. 6 and 36, 5 and 25)
- the digit in the thousands place is equal to the digit in the ones place divided by the digit in the tens place
- the digit in the hundredths place is equal to the digit in the tens place moded by the digit in the thousands place
- the number is even
- the sum of the digits in the number is 12
You are to write a program the uses a loop (or loops) to find the number.
Related Book For
Posted Date: