CPSC 120B: Programming Project #1
Yard Work

Due Friday, September 20, 2002 by 4 p.m.

A small time landscape supply company specializes in providing home delivery of landscape supplies to customers. The company wants you to write a program to help customers estimate their needs for landscaping supplies and to estimate the cost to the customer of home delivery. The company only supplies three items: mulch, which is sold in scoops; fertilizer, which is sold in 40 pound bags; and grass seed, which is sold in 20 pound bags. The program will assume that the user will need to fertilize and overseed a rectangular lawn and will need to mulch a circular area around each of several trees and bushes.

The owners of the company want your program to compute and print out the following:

Your program should read in the following information from the user:

Use the following assumptions in your calculations:

The program should print out a report nicely formatted (with some sort of border, blank lines in appropriate places, and dollars and cents correctly formatted) with all of the above information (including the customer's name). Sample output will be posted on the course Web site. Your output does not need to be formatted exactly the same but it must contain all the information AND must look good (and be free of spelling errors!!!)


Academic Integrity Reminder!!! Programming assignments are to be your own work. You may get help on the specifics of the assignment from no one except the instructor. You may not show your program to anyone or look at anyone else's program or share ideas with anyone about how to write the program.