求球的体积,第七个有错误,可是有点不理解,希望能得到详细的帮助
#include <stdio.h>#include <stdlib.h>
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int main(int argc, char *argv[]) {
int r,V;
scanf("r",&r);
V=4/3* PI*r*r*r;
printf("半径为%d的球的体积位%d",V);
return 0;
}