C语言求圆周率π #include <stdio.h> #include <stdlib.h> #include <math.h> int main() { float s = 1; float pi = 0