1. Mark what is covered (Y) and what is not covered (N) in the part of the book that you were supposed to read for this week:
2. For each of the following two pieces of code, write an equivalent code by using if-then statements:
double b = (b <= -1 || b >= 1) ? 0 : b.
switch(c){
case 1: x = c + 1;
break;
case 2: x = c - 1;
break;
default: x = c;
}