#include <stdio.h> int main(void) { double rad; double area; printf("원의 반지름: "); scanf("%lf", &rad); area = rad * rad * 3.1415; printf("원의 넓이: %f \n", area); }
To embed this project on your website, copy the following code and paste it into your website's HTML: