Question: JAVA PROGRAMMING:- The Riddler is planning his next caper somewhere on Pennsylvania Avenue. In his usual sporting fashion, he has left the address in the

JAVA PROGRAMMING:-

JAVA PROGRAMMING:- The Riddler is planning his next caper somewhere on Pennsylvania

The Riddler is planning his next caper somewhere on Pennsylvania Avenue. In his usual sporting fashion, he has left the address in the form of a puzzle. The address on Pennsylvania is a four-digit number where: All four digits are different The digit in the thousands place is three times the digit in the tens place . The number is odd . The sum of the digits is 27 Write a program that uses a loop (or loops) to find the address where the Riddler plans to strike. There is no user input for this program, and thus the keyboard (a Scanner object) is not needed. The output for this program is just a single four-digit number printed to the screen

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!