MVI B,00
MVI D,00
MVI E,00
LHLD 4000H
L3 MOV A,M
ADD D
JNC L1
INR E
L1 MOV D,A
INX H
MOV A,M
ADD E
JNC L2
INR B
L2 MOV E,A
INX H
DCR C
JNZ L3
MOV A,D
STA 4050H
MOV A,E
STA 4051H
MOV A,B
STA 4052H
HLT
#N.B:::::Here Reg.D is used for holding lower bit of the result andReg.E is used for HiggerbitReg.B give u the carry
Hence Result may be a 24bit no which will be store in memomy location 4050H,4051H,and 4052H12345678910
Add the numbers into one variable as you read them in. But if you prefer, you can read the numbers into an array and then use a loop to add the numbers together.
5
3332, 3333 and 3334 add up to 9999 - there are no three consecutive numbers that add up to 10,000.
They are called Units I think !!
Ten and six.
There are infinitely many multiples of ten. There are infinitely many sets of 2, 3, 4, ..., infinitely many numbers that add up each one of the multiples of ten. It is, therefore, impossible to answer the question.There are infinitely many multiples of ten. There are infinitely many sets of 2, 3, 4, ..., infinitely many numbers that add up each one of the multiples of ten. It is, therefore, impossible to answer the question.There are infinitely many multiples of ten. There are infinitely many sets of 2, 3, 4, ..., infinitely many numbers that add up each one of the multiples of ten. It is, therefore, impossible to answer the question.There are infinitely many multiples of ten. There are infinitely many sets of 2, 3, 4, ..., infinitely many numbers that add up each one of the multiples of ten. It is, therefore, impossible to answer the question.
Add them together. Divide that total by 10.
5-sqrt17, 5+sqrt17
foe my little pony just add ten random letters or numbers and add NJ
1, 2 and 7.
Four consecutive numbers adding up to ten are: 1+2+3+4