#include <stdio.h> int main() { double r, area; scanf("%lf", &r); area = 3.14 * r * r; printf("%.1f\n", area); return 0; }
To embed this program on your website, copy the following code and paste it into your website's HTML: