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); /**/ /**/ /**/ } /**/ /**/ } /**/ } }
224 has.
709
The written number for 3 hundreds, 8 tens, and 18 ones is 318. This is calculated by combining the hundreds (300), tens (80), and ones (18) together. Therefore, 300 + 80 + 18 equals 318.
965
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); /**/ /**/ /**/ } /**/ /**/ } /**/ } }
254 - has 2 hundreds, 5 tens, and 4 ones
what number has 9 hundreds, 2 fewer tens than hundreds, and 2 fewer ones than hundreds
Your correct answer is hundreds place because you have your ones period like ones tens hundreds same with the thousands period ones tens hundreds.
4 hundreds 17 tens. 6 ones
224 has.
709
952
The written number for 3 hundreds, 8 tens, and 18 ones is 318. This is calculated by combining the hundreds (300), tens (80), and ones (18) together. Therefore, 300 + 80 + 18 equals 318.
If you have 6 hundreds 3 ones 14 tens and 9 tenths, you are 743.9.
530?
849 has 8 hundreds, 4 fewer tens than hundreds, and 5 more ones than tens.