Modularise your program using function. - More example on function