13.6) Exercise 20
Edit your solution to Exercise 19. Move the definition for triangle_area
so that it is now below main
. Save your file and try recompiling the program. What happens?
Now add the following line before the start of main
:
double triangle_area(double, double, double);
Try compiling the program again.