Q: 18
The steps in an algorithm to calculate the positive difference in given values, x and y, are given in no
particular order:
Put Diff to output.
Set Diff = x - y.
If y > x, set Diff = y - x.
Declare variable Diff.What is the first step of the algorithm?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.