Question: I need someone to look at mycode and help me figure this problem out. IT NEEDS DONE ASAP BC THE DUE DATE IS SOON. Here
I need someone to look at mycode and help me figure this problem out. IT NEEDS DONE ASAP BC THE DUE DATE IS SOON. Here is my code, the problem is attached as a file. Test
Code did not compile.
filename 'examplexlsx
columnCheck 'Name'
Test
Code did not compile.
filename 'examplexlsx
columnCheck 'Horse Color'
Test
Code did not compile.
filename 'examplexlsx
columnCheck 'Age'
Test
Code did not compile.
filename 'examplexlsx
columnCheck 'Draw Time'
function tryout cowboyTryoutsfile header
data readtablefile;
delete cowboys with gray horses
datastrcmpidataHorse color' 'gray' :) ;
creating 'Stats' column
data.Stats rounddata: 'Lasso Time' data: 'Draw Time';
Extract the column for sorting
section data: header;
finding if double or char
check classsection;
whether number or character
if strcmpcheck 'double'
descending
~ sortIdx sortsection 'descend';
else
ascending
~ sortIdx sortsection;
Reverse
sortIdx sortIdxend::;
end
data datasortIdx :;
data.header;
tryout tablecelldata;
end
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
