#include<stdio.h> #define PI 3.14 int main(void) { int n; double r,s,h,v; printf("Enter n:"); printf("Enter h:"); printf("Enter r:"); scanf("%d",&n); scanf("%d",&h); scanf("%d",&r); v=n*PI*r*r*h;
#include<stdio.h> #define PI 3.14 int main(void) { int n; double r,s,h,v; printf("Enter n:"); printf("Enter h:"); printf("Enter r:"); scanf("%d",&n); scanf("%d",&h); scanf("%d",&r); v=n*PI*r*r*h;