You have the number 210.
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); /**/ /**/ /**/ } /**/ /**/ } /**/ } }
1 thousand 0 hundreds 0 tens 0 ones or just 1 thousand(1000)
41R1 is 41 + 1/x, where x is the dividend. When x>2, 41R1 is rounded to: Ones: 41 Tens: 40 Hundreds and more: 0 When x=1 or 2 Ones: 42 Tens: 40 Hundreds and more: 0
how does 100 meet the specification? 1 is in the hundreds digit and 0 is in the tens digit. 1 is not at least 0. this is a confusing question?!
3 thousands 1 hundreds 0 tens and 9 units
Put 321 into three columns: Hundreds, Tens, and units. Then you have 3 Hundreds, 2 tens and 1 unit. It therefore is 320. However, if the unit was from 5 -9, you would round the ten up to 3.
What is 8tens and 1 thousand
600 + 50*10 + 0*1 = 600+500 = 1100
100
15 638 can be made with 1 ten, 5 ones, 6 hundreds, 3 tens, and 8 ones; 1 ten, 8 ones, 6 hundreds, 3 tens, and 5 ones; or 6 ones, 5 hundreds, 3 tens, 8 ones, and 1 ten.
-0 × 100 + 46 × 10 + 7 × 1 = 0 + 460 + 7 = 467.
3221