Question
In the question it is said that, Create an array of size 10.Then take input from the users and input will be in numerical values
In the question it is said that, Create an array of size 10.Then take input from the users and input will be in numerical values ranging from 1-9. Then the programmer needs to find all the pairs of numbers whose some is equal to 10. For example: The input is 1 2 3 4 5 6 7 8 9. The output should be 19,28,37,46,91,82,73,64. Here basically the pair order is not important. Weather The sum of the pair is 10 or not is Important. Output could be 19 or 91, 28 or 82 and so on so forth. But the actual target is to be the sum of the paired numers is 10.
I want this Code to be Coded in EMU8086, And the code language will be Assembly Language.
camie.docx - 4 camle.docx Create an array of size 10. Take inputs from the user and populate the array The inputs will be numerical values ranging from 11-Now, you are to find all the pairs of numbers whose sun is equal to 10 If there are no such pairs then print "SORRY No Such Pairs Remember that a number can be used to form multiple pairs Sample Input 01: 1234567891 Sample Output 01: 19 28 46 Sample Input 02 12345 12341 Sample Output 02 SORRY No Such pairs 37Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started