Statements under 'if' executes only when the given condition is true.
Otherwise those statements will not be part of program.
Likewise, when we give some expression or logical combination of expression in if statement, the statements under if only work, if the expressions output is non-zero.
Get a number from the user. If its negative, make it positive and print it. if its positive, print it straightaway.