CyberSlug Rules!

Beginner Programming CMPS060

Prof. Paulo Franca

Home

Syllabus

Login

Objects

Download

Staff only

Skill 10

Incorporating Decisions

To be or not to be...

Now you can:

  • use "if" to decide on the right piece of program to execute
  • use if/else to decide between two alternatives
  • build a condition on which you can base your decisions
  • break out of loops
  • design more complex loops
  • use a switch statement to choose one among several alternatives