Question: Java Programming Find a 5-digit number ABCDE such that if we place an extra numeral 1 at the beginning, we get a number three times
Java Programming
Find a 5-digit number ABCDE such that if we place an extra numeral 1 at the beginning, we get a number three times smaller than if we put that numeral 1 at the end of the number. integer variables A, B, C, D, and E for the five digits of ABCDE int oneBefore to hold the value of ABCDE with an extra numeral 1 at the beginning int oneAfter to hold the value of ABCDE with numeral 1 at the end of the number
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
