<!-- hamlet
<!-- copytar
examples/                                                                                           0040755 0002611 0000666 00000000000 06355554102 0013533 5                                                                                                    ustar 00hamlet                          hamlet                          0000235 0000202                                                                                                                                                                        examples/sroot1.c                                                                                   0100644 0002611 0000666 00000000464 06355554077 0015142 0                                                                                                    ustar 00hamlet                          hamlet                          0000235 0000202                                                                                                                                                                        /* level 5 */
/* Illustrates the use of the standard function "sqrt".
   Created:  Joe Zachary, October 20, 1992
   Modified:
*/


#include <stdio.h>
#include <math.h>


void main () {
  float x;
  printf("Please enter a float: ");
  scanf("%f", &x);
  printf("The square root of %f is %f\n", x, sqrt(x));
}
                                                                                                                                                                                                            examples/cline.c                                                                                    0100644 0002611 0000666 00000000434 06355554100 0014765 0                                                                                                    ustar 00hamlet                          hamlet                          0000235 0000202                                                                                                                                                                        /* level 5 */
/* Illustrates the use of command line arguments.

   Created:  Joe Zachary, November 16, 1992
   Modified:
*/


#include <stdio.h>

void main (int argc, char *argv[]) {
  while (argc > 1) {
    printf("You specified the argument %s\n", argv[argc-1]);
    argc--;
  }
}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    