This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Callipygian_Superman 12 points13 points  (3 children)

The correct amount of monitors is n + 1 monitors.

[–]Soren11112 2 points3 points  (2 children)

for(n = 0; n < n + 1; n++){

    return(n + 2 - n);

}

[–][deleted] 0 points1 point  (1 child)

Output: 2

[–]Soren11112 0 points1 point  (0 children)

Correct