node assignment finding mean, median and mode

Don't use this style of if statements, either do it on single line or include the curly brackets