Insert all data values in the linked list
push ( & head , 5 ) ; push ( & head , 21 ) ; push ( & head , 8 ) ; push ( & head , 12 ) ; push ( & head , 3 ) ; push ( & head , 13 ) ; push ( & head , 144 ) ; push ( & head , 6 ) ; cout << meanofnodes ( head ) ; return 0 ; }