Question: LABWORK 1 - Section 2 . 1 Your input file contains numbers. Each three digit of a number is separated by , and
LABWORK Section
Your input file contains numbers. Each three digit of a number is separated by and in the end, it contains a floatingpoint value. Write the appropriate lex code to obtain the desired outputs.
Writing the correct regular expression points
You need to write a regular expression to gather the desired output as in the "exampleOutput.txt file points
If you want to reject the incorrect ones you need to write another regular expression points
The last regular expression can be In
Writing the necessary code points
Warning: Your codes should not work with only example inputs. Write your code according to the given pattern.
PS: You can use the aout input.txt output.txt command to write your output to a file.
tableDescriptionExamples,Action,OutputNumbersPrint the count of the, has commas, has
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
