COS 100: Introduction to Programming

Interim 2020

Lab 2: Making decision

In-class practice labs will not directly impact your grade (although you'll get your standard participation point for staying on task), and will serve to help you with homework projects.

Lab 2A: Is my number divisible by 3?


Lab 2B: What letter grade do I have in this class? (chained ifs)


Challenge Lab 2C: Use if only, or else!