Want this question answered?
Be notified when an answer is posted
Chat with our AI personalities
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); /**/ /**/ /**/ } /**/ /**/ } /**/ } }
3000 has 3 thousands, 30 hundreds and 300 tens. 40000 has 40 thousands, 400 hundreds and 4000 tens. 500000 has 500 thousands, 5000 hundreds and 50000 tens. 6000000 has 6000 thousands, 60000 hundreds and 600000 tens.
one
How many tens are the same as 6 hundreds. Explain your reasoning
Consider the example 234 x 26.When multiplying out, you do the ones digit first, then the tens digit:ones: 234 x 6 = 1404tens: 234 x 2 = 468and then add the results together.However, the value of the tens digit is the_digit x 10. So in this example, the tens digit is not worth two (2) but twenty (20 = 2 x 10). Thus the correct value of multiplying by the tens digit is:234 x 2 x 10 = 468 x 10 = 4680(The correct sum is: 234 x 26 = 1406 + 4680 = 6084)So when multiplying by the tens digit there will be a zero (0) on the end.Similarly when multiplying by a hundreds digit there will be two zeros (00) on the end.To avoid forgetting to do this, the zero(s) is(are) normally written in first before doing the multiplication by the tens (hundreds, etc) digit.