Lecture 8 Objectives


At the end of today's class you should

KNOW:

BE ABLE TO:

Sample Exam Question:

Write the complete function definition (function heading and function body) for a C function called calculate with the following pre- and post-conditions:

PRE:  num is a non-negative float
POST: the function returns the square root of num, and the value of num squared