
EXERCISES,PROBLEMS, AND PROJECTS
5.14 Exercises,Problems,and Projects 271
20. If a is true, increment b by 1.
// your code goes here
21. If a is true, increment b by 2; if a is false, decrement b by 1.
// your code goes here
22. If a is true, change a to false; if a is false, change a to true.
// your code goes here
23. If b is equal to c, then assign true to a.
// your code goes here
24. If b is less than c, increment b by 1; otherwise, leave b unchanged.
// your code goes here
25. If b is a multiple of c, set a to true; otherwise, set a to false.
// your code goes here
26. If c is not equal to 0, assign to b the value of b divided by c.
// your code goes ...