Rewrite the following code segment as an equivalent segment that uses a for statement.

```
product = 1;
next = 1;
while (next <= m) {
product = product * next;
next = next + 1;
}
```

```
product = 1;
for (next = 1; next <= m; next = next + 1)
product = product * next;
```

Computer Science & Information Technology

You might also like to view...

Software restriction policies include Disallowed, Basic User, and ____________________

a. Power User b. Unrestricted c. Administrator d. Everyone

Computer Science & Information Technology

The _____________ process helps the organization retrieve and distribute information to all authorized parties as required by the project plan.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology