problem 1) prepare a function to print the sum and average of first n odd numbers where n is passed to the function as argument.
problem 2) prepare a function that returns the factorial of a number where number is passed to the function as argument.
problem 3) prepare a function that returns 1 if the number is prime and 0 if not prime. Number is passed to the function as argument.
problem 4) prepare a function that prints the sum of the digits, count of the digits and reverse of a number. Number is passed to the function as argument.
problem 6) prepare a function that has two integer arguments and returns first number raised to the power second number.
problem 7) prepare a function called zero_small that has two integer arguments being passed by reference and sets the smaller of two numbers to 0.
problem 8) prepare a function that receives a string (character array) as argument and producesa string in which first letter of each word is capitalized.
problem 9) prepare a function that receives a string and a character as argument and returns 1 if the character is found in the string else returns 0.
problem 10) prepare a function to search a given string into another string and returns the position if found otherwise returns 0. Both the strings are passed to the function as argument.
problem 11) prepare a function to return the length of the string. String is passed to the function as argument.
problem 12) prepare a function to reverse a string.
problem 13) prepare a function to search a string in the array of strings. String and array of strings should be passed to the function as parameters.
problem 14) prepare a function to copy one string into another string. Both the strings are passed to the function as argument.
problem 15) prepare a function to compare two strings. The strings must be passed to the function as argument. The function should return 0 if the strings are equal else returns 1.