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