Homework 3: Functions

Tuesday, July 17, 2012

Due Wednesday, July 18, 2012 by 5:00pm

    


[Previous Homework] [Next Homework]


Complete the following:

  1. Create a c file names "hw03.c"
  2. Create a program that uses functions for the following purpose:
    • Print the Greeting Message explaining what this program will accomplish.
    • Get the user's input and return the result.
    • Calculate the volume of a box.
    • Calculate the surface area of the same box.
  3. Once you are done, use submit to submit two files, hw03.c and typescript

    linux3[1]% submit cs104 hw03 hw03.c typescript