Solved In The Following Program The Code For Function

Solved In The Following Program The Code For Function