- Describe an algorithm that interchanges the values of the variables x and y, using only assignments. What is the minimum number of assignment statements needed to do this?
- Describe an algorithm that puts the first three terms of a sequence of integers of arbitrary length in increasing order.enter image description here