Homework 4 – Create your own Function
Create your own function in C that accepts one input parameter and returns a float number. You
decide the theme.
You should provide both your C code and an example call to the C code function. Be sure to
provide an overview of what your function is doing.
Provide a screen capture showing the results of testing your code in an online compiler.
Be sure to test your code with several test cases and show your test case table.
Submission Points
Unique C code for a simple function that accepts one input parameter and
returns a float number was provided and compiles without issue.
C code provided that correctly calls your simple function.
Screen captures of test cases represent a wide variety of possible input values
(e.g. large numbers, small numbers (0), negative, or unexpected non-number
entries).
Get Free Quote!
293 Experts Online