CS100A Lecture 4

9/7/99

Click here to start


Table of Contents

CS100A Lecture 4

Problem Context

Sample Tasks

Programming Rules of Thumb

A Useful Pattern

Placeholders in Pattern

Pattern for �processing� grades

Task 1: Print the grades

Task 2: Count the grades

Task 3: Print the average

Casts and Rounding

Boundary Conditions

Task 4: Print highest grade

Boundary Conditions Again

Task 5: Putting it all together

Task 5: Putting it all together, cont.

Author: Tim Teitelbaum