#include<stdio.h> int main(void) { int H,n,i; double R,S; printf("Enter H:"); scanf("%d",&H); printf("Enter R:"); scanf("%lf",&R); printf("Enter n:"); scanf("%d",&n); for(i=1;i<=n;i++); if(R,H<=0){ printf("you are worry, "); } else{ S=n*R*R*H*3.14; printf("f(%.2f)=%.2f ",R,S); } return 0; }