Question: BWA5.IN file: ANSWER MUST BE IN PSEUDOCODE! 1. For this BWA, you are given a input file BWA5.in containing some text lines. The format of

BWA5.IN file:


ANSWER MUST BE IN PSEUDOCODE!
1. For this BWA, you are given a input file BWA5.in containing some text lines. The format of the text file will be as follows containing a famous rhyme: Hey diddle diddle The cat and the fiddle The cow jumped over the moon 2. You will need to read the file content using your favorite read function, separate each word and determine whether the word is unique or not. 3. The output file named: firstname_lastname_BWA5.out should be in the following format: Hey -unique diddle -> non-unique > e l diddle -> non-unique -> ie l The -> unique cat ->unique and -> unique the - unique fiddle - > non-unique ->ielf Each line of the output is the word, mention if its uniqueot and if not unique then prints the only unique letters 1. For this BWA, you are given a input file BWA5.in containing some text lines. The format of the text file will be as follows containing a famous rhyme: Hey diddle diddle The cat and the fiddle The cow jumped over the moon 2. You will need to read the file content using your favorite read function, separate each word and determine whether the word is unique or not. 3. The output file named: firstname_lastname_BWA5.out should be in the following format: Hey -unique diddle -> non-unique > e l diddle -> non-unique -> ie l The -> unique cat ->unique and -> unique the - unique fiddle - > non-unique ->ielf Each line of the output is the word, mention if its uniqueot and if not unique then prints the only unique letters
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
