Question: 3 5 . Implement execute The main application function is execute. It takes the command line arguments and decides whether to call discover _ violations
Implement execute
The main application function is execute. It takes the command line arguments and decides whether to call discoverviolations or tests.testall If the user provides a data file, the function runs discoverviolations. If the user provides the argument test it runs the main test function.
You have already seen an example of something similar in the course videos. The application tocelsius contains a function execute that can either be used to test the function or run the temperature application. This code is available in the samples folder under unit Take a look at this sample code now and use it to complete your execute function.
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
