Module: Bit Operations (C++)


Problem

7/13

Calculating the modulus of a number without using a conditional operator

Problem

Given a number x. Compute the absolute value of the number x without using a conditional operator.

Add the missing piece of code to the program.