Class Discussion

Discuss the following questions with your classmates:

  • Considering that switch statements are equivalent to if… else statements, when would you choose a switch statement over anif… else statement?
  • Why?

Lab Work

In the following exercises, you will determine the output of a Java program and analyze loops.

Complete the following exercises from your textbook:

  1. Turn to Chapter 4. Complete Exercise #9 on page 235.
  2. Turn to Chapter 5. Complete Exercise #1 on page 306 and Exercise #5 on page 307.

Save your document with a file name that inc

Is this part of your assignment? ORDER NOW