#include <stdio.h> int main(void) { float d=20,r,pai=3.14,menseki,v,s; r=d/2; menseki=pai*r*r; v=4*pai*r*r*r/3; s=4*pai*r*r; printf("%f,%f,%f",menseki,v,s); return 0; }
To embed this project on your website, copy the following code and paste it into your website's HTML: