CSC 150 Lab 7-1 More Team Projects

Two are better than one, because they have a good reward for their labor. For if they fall, the one will lift up his fellow. But woe to him that is alone when he falleth, for he hath not another to help him up. Ecc 4:9

This lab requires you to work in teams of two or three: the preferred size for a team is two.

The goal is to work as a team to analyze a problem, devise an algorithm for solving it, and then write a program to implement the solution. The problems come from an annual programming competition among students from schools in the Associated Colleges of the Chicago Area (ACCA).

Team up with one or two other persons in the class to write C++ programs to solve

  1. Problem 6 on the 2001 ACCA programming competition (Novice level)
  2. Problem 4 on the 2003 ACCA programming competition (Novice level)

Each team should appoint a team lead person for each problem. The lead person will be responsible for submitting the solution once it is complete. When submitting the solution by email, the lead person should cc all members of the team so they know the solution has been submitted.

Make sure that all the names of all team members appear in a programmer/author comment section at the top of the source file.

These Team projects are due Thursday of Week 7.

HINT for A Very Peculiar Sequence: Write the frequency count of a character followed by the character to an ostringstream object.

HINT for Digit Powers: Write a function to create a vector of all decimal digits of a given integer, or alternatively, write the number to an ostringstream object.