Classwork 6 : Area of circle

"pi*z*z*a"

Construct a function called circleArea to calculate the area of a circle using floats. Modify the following code:

#include <stdio.h>
#include <stdbool.h>

// your function starts here
  
// your function ends here

int main() {
  printf("%f", circleArea(5.0f));
  return 0;
}

Last updated