Group exercises - chapter 1

Mr. Gottsacker
Computer Programming


Profit projection

This project is designed for groups of two people.

Even in his younger years, Larry Page was inventive and enterprising. In college, he reverse-engineered the ink cartridge of an inkjet printer and optimized it for printing large posters.

Problem

Larry offers his services to the University of Michigan's Student Activities Center. Over the course of 5 weeks, his printing company follows a consistent trend:

Larry charges $0.60 for each poster printed. It costs him $0.10 to print each one.

Task

Write a Java program to calculate and display Larry's accumulated profit at the end of each week. Assume he starts with $0.00. Write a document describing the problem, your programmatic approach, your solution, and the distribution of work in your group.

Project submission

Your Java program should be called Project_1.java. The discussion document should be titled similarly and should be a Google Doc, text file, PDF, or some other portable document format. Submit your work in an email with the subject line Group Project 1.