Question: Write a ADA (programming language) function that takes two binary arrays of 1s and 0s and adds them and then returns the resulting binary array.

Write a ADA (programming language) function that takes two binary arrays of 1s and 0s and adds them and then returns the resulting binary array.

For example, 0101 + 0001 = 0110. Verify your result is the same.

Note: You must use binary addition and not convert binary numbers to integers to achieve the result. As a beginner to ADA, I'd greatly appreciate your help!

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!