factorial and of n numbers while

factorial and of n numbers for

switch statements