Due: Thursday, May 29
Goal: Use a loop with && in an if statement
Holy Digits Batman!
The Riddler is planning his next caper somewhere on Lake Otis Parkway. In his usual sporting fashion, he has left the address in the form of a puzzle. The address on Lake Otis is a four digit number where:
Write a program that uses a loop to find the address where the Riddler plans to strike. Your program should:
thousands = (address / 1000) % 10; hundreds = (address / 100) % 10; tens = (address / 10) % 10; ones = address % 10;