2
what number has 9 hundreds, 2 fewer tens than hundreds, and 2 fewer ones than hundreds
952
what number has 3 hundreds, 4 more tens than hundreds, and 1 more one than hundreds
5483
2
122 how did we get this answer?
what number has 9 hundreds, 2 fewer tens than hundreds, and 2 fewer ones than hundreds
849 has 8 hundreds, 4 fewer tens than hundreds, and 5 more ones than tens.
14 hundreds is less than 7,000 tens
571
952
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); /**/ /**/ /**/ } /**/ /**/ } /**/ } }
Just like hundreds are greater than tens, hundreds of thousands is larger than tens of thousands.
100 / 10 = 10.
what number has 3 hundreds, 4 more tens than hundreds, and 1 more one than hundreds
977