Best Answer

There is no four digit number where the ones is twice the tens, the hundreds is five less than the ones, and the thousands is the sum of the tens and hundreds.

int ones, tens, hundreds, thousands;

for (thousands=1; thousands<10; thousands++) {

/**/ for (hundreds=0; hundreds<10; hundreds++) {

/**/ /**/ for (tens=0; tens<10; tens++) {

/**/ /**/ /**/ for (ones=0; ones<10; ones++) {

/**/ /**/ /**/ /**/ if (ones != 2 * tens) break;

/**/ /**/ /**/ /**/ if (hundreds != ones - 5) break;

/**/ /**/ /**/ /**/ if (thousands != tens + hundreds) break;

/**/ /**/ /**/ /**/ printf ("dd\n", thousands, hundreds, tens, ones);

/**/ /**/ /**/ }

/**/ /**/ }

/**/ }

}

Study guides

☆☆

Q: You are a four digit number your ones is twice your tens your hundreds is five less than your ones your thousands place is the sum of your tens and hundreds what number are you?

Write your answer...

Submit

Still have questions?

Related questions

700,000

hundreds thousands

The digit in the hundreds place in the number 2378.91 is the digit 3.

The digit in the hundreds place in the number 463 is the digit 4.

The digit 2 in the number 326.4 is in the tens place.

Where a digit in a number is located such as ones, tens, hundreds, and thousands.

There are 9,000 such nubers. One of them is 670389

The digit of 0 represents the hundreds place

Look at the digit in hundreds place. If it is five or greater, round the digit in thousands place to the next higher digit. If the digit in hundreds place is less than five, leave the digit in thousands place as it is. 755,082 rounded to thousands is 755,000.

place value:is the place value of where the digit is in the number such as units,tens,hundreds,thousands,etc.

The places are always the same no matter what the digits are. The value is obtained by multiplying the place times the digit. Starting from the right, the places in an 8-digit number are ones, tens, hundreds, thousands, ten thousands, hundred thousands, millions and ten millions.

It is the digit of 0 that represents the hundreds place value.

People also asked