Code:int main()
{
int index, points[6];
char *input, *output;
FILE *ifp;
printf("Which file would you like to read from?\n");
scanf("%s", input);
printf("Which file would you like to write too?\n");
scanf("%s", output);
//Opens the output file to be written too
if ((ifp = fopen(output, "w")) == NULL)
{
return 0;
}
//Opens the input file too be read from
if ((ifp = fopen(input, "r")) == NULL)
{
return 0;
}
return 0;
}