Computer Science, asked by muthukrishnansowmaya, 3 months ago

8. PRINT ABS (7*(-5)) =
O a) 35
O b)-35
O c) 30
O d)-30​

Answers

Answered by anindyaadhikari13
0

Answer:

  • 35 is the right answer (Option A)

Explanation:

  • The ABS() function returns the absolute value of the number. Whether the number is positive or negative, it returns the magnitude of the number irrespective of its sign.
  • ABS(7 * (-5)) is same as - ABS(-35).
  • ABS(-35) is equal to the absolute value of -35 which is 35.
  • So, 35 is the correct answer.

•••♪

Similar questions