CS1440 - Lab 5
More about Functions

Name:                                            User ID:                                                  Date:
Lab Section:                                  Lecture Section:

 
Activity
Points
To Submit
Grade
20
  • Program (printout preferred)
  • Written answers
Lab goals - Objective for today's lab
--
-
     -
 Getting ready for the lab
--
-
     -
Using functions that do not return a value, void functions
    10
  • Program file ex51.C in your directory
    -
Functions that return more than one value using means other than the return statement
 10
  • Program file ex52.C in your directory
    -
A good program to learn almost everything about functions.
--
-
     -
Steps for designing the program
--
-
    - 
     10
  • Program file driver.C in your directory
    -
   -
50
  • Program listing for draw.C and file draw.C in your directory
    -

 
Student's Remarks: 

 

Professor's Remarks: 

 

** REMEMBER: A good working function should have: 1) a name, 2) type, 3) correct parameter (s), 4) correct return statement, and 5) prototyped and called correctly every where.