CS120
Lab #7

Due at the end of lab.

This is a pair programming lab. You may work in pairs if you want. If you do work in a pair you may also do Assignment 7 as a pair assignment. Make sure to put both of your names in the comments at the beginning of the lab, and assignment, programs.

If you are working in a pair be sure to take turns at the keyboard. When creating the class alternate between each function.

For this lab you will be creating a card class. The goal of this class is to create objects representing a single playing card. Card objects should have the following data members:

The class should also have the following function memebers (methods):

Test your class by writing a main program that:

Include a block of comments at the beginning of the program (or add to the existing block) that lists your name, section number, date, and the assignment number. Also include comments on any parts of the assignment you didn't finish or on any extra work you did. Include this comment block at the beginning of every assignment and lab.

Turn in: Name your code file Lab7SecX.cpp (where X is your section number) and turn in the code for your program (the .cpp file, not a.out) using the cscheckin command.