I need help with 2 things, I want enter 20 numbers in inputbox and say what is the greater and lesser in the end with msgbox.

and the other is, enter a number in a inputbox and calculate his factorial.

Thanks a i am lern vb now. English too ;p