Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 366 Bytes

File metadata and controls

21 lines (14 loc) · 366 Bytes

Back to Main

Classwork 3: 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;
}