Programming Drill #6

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:

  1. The digit in the thousands place is three times the digit in the tens place
  2. The number is odd
  3. The sum of the digits is 29

Write a program that uses a loop to find the address where the Riddler plans to strike.  Your program should: