35.6k views
4 votes
With mapping is required to reach the following result:

99999-9999
valueA = 99999 valueB= 9999

User Luckyape
by
7.1k points

1 Answer

6 votes

Final answer:

To reach the given result of 99999-9999, borrowing in subtraction can be used. Similarly, for the values value A = 99999 and value B = 9999, the same approach can be followed.

Step-by-step explanation:

To reach the given result of 99999-9999, we can use the concept of borrowing in subtraction. Starting from the rightmost digit, we subtract 9 from 9 and get 0. Since we cannot subtract 9 from 0, we borrow 1 from the tens digit of the larger number. So, the tens digit becomes 8 and the ones digit becomes 10. Now, we subtract 9 from 10 and get 1. The result of this subtraction is 99990-9990.

Similarly, for the values, value A = 99999 and value B = 9999, we can follow the same approach. Subtracting 9 from 9, we get 0 and we borrow 1 from the tens place. The tens digit becomes 8, and the ones digit becomes 10. Subtracting 9 from 10, we get 1. Therefore, value A = 99990 and value B = 9990.

User Marse
by
8.8k points

Related questions

asked Apr 5, 2019 6.5k views
Yeraldin asked Apr 5, 2019
by Yeraldin
8.1k points
2 answers
1 vote
6.5k views
asked Nov 15, 2023 207k views
Cemil Dogan asked Nov 15, 2023
by Cemil Dogan
7.3k points
2 answers
4 votes
207k views