Pnautonomouscollege.in

Write a user defined function to find the absolute value of an integer and use it to evaluate the function (-1)n/n, for n=-2, -1, 0, 1, 2. Calculate the factorial of any natural number. Read floating numbers and compute two averages: the average of negative numbers and the average of positive numbers. ................
................