#include <stdio.h> int main() { float r, pi = 3.14159, volume = 0; scanf("%f",&r); volume = 4.0 / 3 * pi * r * r * r; printf("VOLUME = %f", volume); return 0; }
To embed this project on your website, copy the following code and paste it into your website's HTML: