Activity

  • Read in the data file Read in the contents of data file "AssignmentThreeInput.txt"
  • Provide information to the userFor each word in the file, display to the user which word is currently being permutated (see Figure 1)
  • Permute each word in the file Permute each word in the file for all possible arrangements using all letters
  • Write permutations to a data fileWrite out the permutations of each string contained in the input file as AssignmentThreeOutput.txt
  • Test CasePerform Test Case, results in expected outcome
  • CompileSource compiles with no errors
  • RunSource runs with no errors
  • CommentsSource includes comments

Perform the following test case

  • Test caseRun application
    • Data file AssignmentThreeInput.txt is read in
    • Each word in the file is permuted
    • Console display updates to inform user what the application is doing
    • Data file AssignmentThreeOutput.txt is written out and matches provided example

Sample output: See image.

Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.