Page 1 of 1

Write a public function called HW8D which returns a float and has two parameters A and B, both of type float. The functi

Posted: Wed Apr 27, 2022 3:45 pm
by answerhappygod
Write a public function called HW8D which returns a float and
has two parameters A and B, both of type float. The function HW8D
function returns the sum as a float. So, if A and B are 3 and 2,
you should return 5. Write a second function, also called HW8D,
which takes three arguments A, B, C, and returns the sum of all
three items. So if your HW8D is passed 6,4,5, it should return 15
as a float.These functions are not given you have to write it, make
sure the function is public.