The question is rather simple, since you need an even number greater than 700 that is three digits we have a number that is of the form
7-even-even (odd + odd + even = even but 11 is of the form 2k+1 which is odd)
8-odd-even (odd +even+even = an even number)
902, 920 or 911 (this is because the sum of the digits is 11 and using 9 we would have 9 +X + Y = 11 which means that X + Y = 2 and we have a linear diophantene equation with the solutions (1,1), (2,0) (0,2)
for example 704 (7 + X + Y = 11 means X + Y = 4 so we have (2,2), (4,0) (0,4) ,(1,3) and (3,1)
Also,
803 because 8 + X + Y = 11 or X + Y = 3 and you would get (0,3) (1,2) (2,1) (3,0) as solutions.
Humans normally have ten fingers and ten toes, a total of twenty digits.
18.You can answer it easily by considering three places for three digits of the number.The hundreds place cannot take zero hence it can take 2 values.The next two places can take all the three digits.Hence the total number of ways is 2*3*3=18.
0 and 9 or, 0 and anything really.
Add the digits of the number. If that total is divisible by nine, so is the original number. Example: 12,345,678 The digits total 36. 36 is divisible by 9. So is 12,345,678.
It is 120 if the digits cannot be repeated.
Total number of digits = 5
Humans normally have ten fingers and ten toes, a total of twenty digits.
18.You can answer it easily by considering three places for three digits of the number.The hundreds place cannot take zero hence it can take 2 values.The next two places can take all the three digits.Hence the total number of ways is 2*3*3=18.
#include<stdio.h> main () { int number, last_digit, next_digit, total; printf ("Enter the number whose sum of digits is to be calculated: "); scanf ("%d", &number); last_digit = number%10; total = last_digit; next_digit = (number/10) % 10; total = total + next_digit; next_digit = (number/100) % 10; total = total + next_digit; next_digit = (number/1000) %10; total = total + next_digit; next_digit = (number/10000) %10; total = total + next_digit; printf ("The sum of the digits of the entered number is: %d", total); }
I/you/we am 49
0 and 9 or, 0 and anything really.
The sum of your digits is the total number arrived at after adding two or more numbers.
Add the digits of the number. If that total is divisible by nine, so is the original number. Example: 12,345,678 The digits total 36. 36 is divisible by 9. So is 12,345,678.
Add the digits of the number. If that total is divisible by nine, so is the original number. Example: 12,345,678 The digits total 36. 36 is divisible by 9. So is 12,345,678.
No.
The number seventy billion is written 70,000,000,000 - eleven digits in total.
It is 120 if the digits cannot be repeated.