Conditional and Looping Statements
  • if (Use if to implement a conditional statement)
  • while (Use the while keyword to implement a while loop)
  • do (The do statement implements a do ... while loop)
  • for (The for statement implements a for loop)
  • switch (The switch statement passes a result to a matching case)
  • break (The break statement exits from a loop)