<!-- hamlet
<!-- copytar
examples/                                                                                           0040755 0001107 0000172 00000000000 05666734625 0014312 5                                                                                                    ustar 00zachary                         cs-teach                        377777770002752                                                                                                                                                                        examples/io3.c                                                                                      0100644 0001107 0000172 00000000500 05666734613 0015135 0                                                                                                    ustar 00zachary                         cs-teach                        377777770002752                                                                                                                                                                        #include <stdio.h>

void main () {
  
  int x, y, z;
  FILE* outfile;

  outfile =  fopen("result.txt", "w");
  if (outfile == NULL) 
    printf("Unable to open result.txt\n");
  
  else 
    {
      fscanf(stdin, "%d %d %d", &x, &y, &z);
      fprintf(outfile, "%d %d %d\n", x, y, z);
      fclose(outfile);
    }
  
}
                                                                                                                                                                                                examples/io4.c                                                                                      0100644 0001107 0000172 00000000470 05666734616 0015147 0                                                                                                    ustar 00zachary                         cs-teach                        377777770002752                                                                                                                                                                        #include <stdio.h>

void main () {
  
  int x, y, z;
  FILE* infile;

  infile = fopen("result.txt", "r");
  if (infile == NULL)
    printf("Unable to open result.txt\n");

  else 
    {
      fscanf(infile, "%d %d %d", &x, &y, &z);
      fprintf(stdout, "%d %d %d\n", x, y, z);
      fclose(infile);
    }
  
}
 }
  
}
                                                                                                                                                                                                examples/io1.c                                                                                      0100644 0001107 0000172 00000000176 05666734604 0015144 0                                                                                                    ustar 00zachary                         cs-teach                        377777770002752                                                                                                                                                                        #include <stdio.h>

void main () {
  
  int x, y, z;

  scanf("%d %d %d", &x, &y, &z);
  
  printf("%d %d %d\n", x, y, z);

}
L)
    printf("Unable to open result.txt\n");

  else 
    {
      fscanf(infile, "%d %d %d", &x, &y, &z);
      fprintf(stdout, "%d %d %d\n", x, y, z);
      fclose(infile);
    }
  
}
 }
  
}
                                                                                                                                                                                                examples/io2.c                                                                                      0100644 0001107 0000172 00000000217 05666734607 0015144 0                                                                                                    ustar 00zachary                         cs-teach                        377777770002752                                                                                                                                                                        #include <stdio.h>

void main () {
  
  int x, y, z;

  fscanf(stdin, "%d %d %d", &x, &y, &z);
  
  fprintf(stdout, "%d %d %d\n", x, y, z);

}
able to open result.txt\n");

  else 
    {
      fscanf(infile, "%d %d %d", &x, &y, &z);
      fprintf(stdout, "%d %d %d\n", x, y, z);
      fclose(infile);
    }
  
}
 }
  
}
                                                                                                                                                                                                examples/sample.txt                                                                                 0100644 0001107 0000172 00000000517 05666726510 0016326 0                                                                                                    ustar 00zachary                         cs-teach                        377777770002752                                                                                                                                                                        display([
plot([
[0, 0.000000]
,
[1, 100.000000]
,
[2, 100.000000]
,
[3, 0.000000]
])
,
plot([
[0, 0.000000]
,
[1, 98.919998]
,
[2, 98.919998]
,
[3, 0.000000]
])
,
plot([
[0, 0.000000]
,
[1, 97.851662]
,
[2, 97.851662]
,
[3, 0.000000]
])
,
plot([
[0, 0.000000]
,
[1, 96.794861]
,
[2, 96.794861]
,
[3, 0.000000]
])
], insequence=true);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 