A function f from the set of natural, numbers to the set of integers defined by f(n)={n−1/2, when n is odd ;−n/2, when n is even A. neither one-one nor onto B. one-one but not onto C. onto but not one-one D. one-one and onto both