Difficulty: Medium
Average Score: 70%
The steps in an algorithm to calculate the positive difference in two given values, z and y, are given in no particular order.
Put Diff to output.
Set Diff x-y.
If y>, set Diff = y - 2.
Declare variable Diff.

What is the first step of the algorithm?

Report an Issue

Help us improve by flagging this content.

Rate this Practice Test

How helpful was this material?

Chat on WhatsApp