CMSC 104, Summer 2002

Project 1 - Circles

Due Date:

Midnight, Tuesday June 25

Note: No late projects will be accepted.

The Objectives

The Task

Write a program that gets the radius of a circle from the user and prints the diameter, area and circumference of that circle. Use a #define preprocessor directive to define the constant PI as 3.14159. You should use floating point variables.

Coding Standards

Be sure to have a program header comment that contains the filename, your name, the date written, your section, your umbc email address, and a description of the program. Adhere to the coding standards.

Submitting the Program

To submit your project, type the following at the Unix prompt. Note that the project name starts with uppercase 'P'. submit cs104 Proj1 proj1.c To verify that your project was submitted, you can execute the following command at the Unix prompt. It will show the file that you submitted in a format similar to the Unix 'ls' command. submitls cs104 Proj1
Last Modified: Wednesday, 19-Jun-2002 12:45:23 EDT

Wednesday, 19-Jun-2002 12:45:23 EDT