#include<stdio.h> int main(void) { double R,S; printf("Enter R:"); scanf("%lf",&R); if(R<=0){ printf("Enter wrong!"); } else{ S=3.14*R*R; } printf("S=%lf ",S); return 0; }