Prog#010: Volume of Cyclinder

/* 
Program#10 
Volume of Cyclinder
*/

#include <stdio.h>
main(){
float c,r,p,h;
p=3.14;
printf("\nEnter value for r and h :");
scanf("%f %f",&r,&h);
c=p*(r*r)*h;
printf("\nVolume of cyclinder : %f\n",c);
}