I searched the internet for the definition of function and I found alot of different things.
There definitions say that function is a rule and there others say that is ordered pairs and another definitions that say it's an ordered triple.
So can one explain explicitly the correct definition of function with telling the intuition behind this definition ?