Write-a-program-that-reads-two-files-named-firstFile-txt-and-secondFile-txt

Write a program that reads two files named firstFile.txt and secondFile.txt. The program should compare the text in the files in the following ways:

  • It should display a list of all the unique words contained in both files
  • It should display a list of the words that appear in both files
  • It should display a list of the words that appear in the first file but not in the second file
  • It should display a list of the words that appear in the second file but not in the first file
  • It should display a list of the words that appear in either the first or second file but not both.

YOU ARE REQUIRED TO USE SETS TO COMPLETE THE ABOVE. DO NOT USE ANY OTHER DATA TYPE OR DATA STRUCTURE.

Add the following comments to the beginning of the program.

Name: Your Name

Class and Section: CS 222 01

Assignment: Program Assignment 01 Extra Credit

Due Date: See above

Date Turned in:

Program Description: You write a short description of what the program will do

 
Do you need a similar assignment done for you from scratch? We have qualified writers to help you. We assure you an A+ quality paper that is free from plagiarism. Order now for an Amazing Discount!
Use Discount Code "Newclient" for a 15% Discount!

NB: We do not resell papers. Upon ordering, we do an original paper exclusively for you.