Converts an int into a boolean. If the int is non-zero, it returns true. Otherwise it returns false.paramx The int to convert.returnA boolean whose value depends on x. if (x != 0) { return true; } else { return false; }
if (x != 0) { return true; } else { return false; }