556 + 323 = 879 whose digits sum to 24.
Mac breaks down the numbers 291 and 407 into their place values. For 291, he adds 200 (hundreds), 90 (tens), and 1 (ones), resulting in 200 + 90 + 1 = 291. For 407, he adds 400 (hundreds), 0 (tens), and 7 (ones), resulting in 400 + 0 + 7 = 407. To find the total, he adds the sums of each place value: 200 + 400 (hundreds), 90 + 0 (tens), and 1 + 7 (ones), which gives him the final sum of 698.
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); /**/ /**/ /**/ } /**/ /**/ } /**/ } }
To find the total, first convert everything to the same unit. Two hundreds is 200, fourteen tens is 140, and three ones is 3. Adding these together: 200 + 140 + 3 equals 343. Therefore, 2 hundreds plus 14 tens plus 3 ones equals 343.
500 + 680 + 031 ------- 1,211
383
Mac breaks down the numbers 291 and 407 into their place values. For 291, he adds 200 (hundreds), 90 (tens), and 1 (ones), resulting in 200 + 90 + 1 = 291. For 407, he adds 400 (hundreds), 0 (tens), and 7 (ones), resulting in 400 + 0 + 7 = 407. To find the total, he adds the sums of each place value: 200 + 400 (hundreds), 90 + 0 (tens), and 1 + 7 (ones), which gives him the final sum of 698.
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); /**/ /**/ /**/ } /**/ /**/ } /**/ } }
To find the total, first convert everything to the same unit. Two hundreds is 200, fourteen tens is 140, and three ones is 3. Adding these together: 200 + 140 + 3 equals 343. Therefore, 2 hundreds plus 14 tens plus 3 ones equals 343.
600 + 60 + 14 = 674
500 + 680 + 031 ------- 1,211
383
11 + 110 + 1100 = 1221
200 + 150 + 19 = 369
To write 10 hundreds plus 10 tens plus 10 ones in standard form, you would add the respective values together. The value of 10 hundreds is 1000, the value of 10 tens is 100, and the value of 10 ones is 10. Adding these values gives us a total of 1110 in standard form.
8,749.
It is 84947.
84947