Discussion 11-10

PIC Lab: Vectors!

Here are a bunch of practice problems using vectors, functions, and other recent material. Do as many as you can and ask me lots of questions!

Notes: You should comment out all the parts you aren't working on yet, so you can code + test one problem at a time. None of your functions should include any cin or cout statements! (Except maybe temporarily to help you debug...)

Toward the end of class, I showed how to solve the first few problems in solutions.cpp.