An algorithm for finding the average of N numbers is average = sum / N, where N and sum are both integers. In a program using this algorithm, a programmer forgot to include a test that would check for N equal to zero. If N is zero, when will the error be detected?
(A)At compile time (B)At edit time (C)As soon as the value of N is entered (D)During run time
D