#include <stdio.h>
#include <stdlib.h>
#define phi 3.14
float r,l;
int main(int argc, char *argv[])
{
printf (" masukan r : ") ; scanf (" %f ", &r);
l=phi*(r*r);
printf("Luas : %.2f \n",l);
system("PAUSE");
return 0;
}
No comments:
Post a Comment