Computer Science, asked by khadkapragya2, 18 days ago

Write a program to find and print all four-digit numbers of the type ABCD, where: A+B =
C+D.
Hint:
 Implement it with four for-loops. One for each digit.
 The outermost loop will define the thousands. It will start from 1 and the rest of
the loops – from 0. They will determine the hundreds, the tens and the units.

Answers

Answered by piyushmodel601
0

Answer:

Write a program to find and print all four-digit numbers of the type ABCD, where: A+B = C+D. Hint: Implement it with four for-loops. one for ...

1 answer

 

·

 

0 votes:  

Answer:Implement it with four for- loops. one for each digit. • The outermost loop will define the thousands. It will start from 1 and the rest of the ...

Explanation:

Similar questions