#include<stdio.h> #define PI 3.14159 int main() { float r,h,v; printf("\nPlease input number:"); scanf("%f%f",&r,&h); v=PI*r*r*h/3; printf("\nv=%f",v); }