Write a user defined function(no main routine is required here) that would print a message on the screen based on the "naughty or nice"score calculated in question. The score is passed by value to the function, which has the following prototype;
int payoff(double score);
The message for scores between 0 and 10 are as follows
Score message
0-2.5 santa likes nice kid
2.5-5.0 santa will deliver you more gifts
5.0-7.5 you will receive nice present
7.5-10 any of your wish sill become ture
The function should return a value of 1 when it is given a valid score to process and 0 when the received value is out side of the 0-10 range. In this case it should print a waring message on the screen