<!-- hamlet
<!-- copytar
examples/                                                                                           0040755 0002611 0000666 00000000000 06355543014 0013533 5                                                                                                    ustar 00hamlet                          hamlet                          0000235 0000202                                                                                                                                                                        examples/sample1.c                                                                                  0100644 0002611 0000666 00000000301 06355542675 0015244 0                                                                                                    ustar 00hamlet                          hamlet                          0000235 0000202                                                                                                                                                                        /* level 1 */
/* This program writes "Hello world" to the display

   Created:  Joe Zachary, September 18, 1992
   Modified:
*/

#include <stdio.h>

void main () {
  printf("Hello world\n");
}
                                                                                                                                                                                                                                                                                                                               examples/sample2.c                                                                                  0100644 0002611 0000666 00000000627 06355542672 0015255 0                                                                                                    ustar 00hamlet                          hamlet                          0000235 0000202                                                                                                                                                                        /* level 1 */
/* This program reads a temperature in degrees Fahrenheit
   and prints out the Celsius equivalent.

   Created:  Joe Zachary, September 18, 1992
   Modified:
*/

#include <stdio.h>

void main () {
  
  int f_temp, c_temp;

  printf("Please enter a Fahrenheit temperature: ");
  scanf("%d", &f_temp);
  c_temp = ((f_temp - 32) * 5) / 9;
  printf("The Celsius equivalent is: %d\n", c_temp);

}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         