1.Which among the following will yield -1 for negative number and 1 for positive number for a number stored in a variable a?
a. Math.abs(a)*a
b. Math.abs(a) / a
c. Math.ceil(a) / Math.floor(a)
d. None of these
Answers
Answered by
5
Answer:
B) answer is correct . because B one us positive
Similar questions