COS 100: Introduction to Programming

Fall 2019

Lab 1: Working with numbers

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 1A: Average of three numbers


Lab 1B: Sales tax


Challenge Lab 1C: Chopping off the head

This lab is for those who want more of a challenge. If you're not able to get this one right today, don't worry. It is unrelated to your homework assignment. However, there are several ways to accomplish the task below, including some that you could do now with some fancy math, and some that involve coding concepts we haven't discussed yet.