What is the terminating condition and stopping case of the factorial function?

a) if (n = 1)
return n;

b) if (n >0)
return 1;

c) if (n != 1)
return 1;

d) if (n <= 0)
return 1;

d) if (n <= 0)
return 1;

Computer Science & Information Technology

You might also like to view...

To bring up the Force Quit menu in OS X, hold down ______, _______, and _______

Fill in the blank(s) with correct word

Computer Science & Information Technology

Functions make it easier for programmers to work in teams.

a. true b. false

Computer Science & Information Technology