<!-- hamlet
<!-- copytar
examples/                                                                                           0040755 0002611 0000666 00000000000 06355552427 0013543 5                                                                                                    ustar 00hamlet                          hamlet                          0000235 0000202                                                                                                                                                                        examples/circle.c                                                                                   0100644 0002611 0000666 00000000470 06355552417 0015145 0                                                                                                    ustar 00hamlet                          hamlet                          0000235 0000202                                                                                                                                                                        /* level 2 */
/* Illustrates the use of #define

Created:  Joe Zachary, October 25, 1992
Modified:

*/

#include <stdio.h>

void main () {
  float r;
  printf("Enter the radius of the circle: ");
  scanf("%f", &r);
  printf("The circumference is %f\n", 2*3.14159*r);
  printf("The area is %f\n", 3.14159*r*r);
}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        