Assembly language --- Area of a Polygon program Write a program to find the area of any polygon given its vertexes. Inputs:  The input is the set of polygons. Outputs:  Label and print the area value for each input. Restrictions:  You are to use one-dimensional array(s) to hold vertex values. You are to use Functions/Procedures in your implementation. Place your input and output into a file. Consider:  Area = ½ ? ( Xi+1 Yi - Xi Yi+1 ) Repeat the first point in the polygon in setting up the list of points for the above loop. Loop through the points in a clockwise process form point to point. Solution fid = fopen(\'input.txt\'); tline = fgetl(fid); num=1; while ischar(tline) disp(tline) [x,rem]=strtok(tline,\':\') [y,rem]=strtok(rem,\':\') a=str2num(x); b=str2num(y); area = 1/2*sum(a.*b([2:end,1])-b.*a([2:end,1])); fprintf(\'Area of polygon is: %.2f\ \', area); fileID = fopen(\'output.txt\',\'a\'); fprintf(fileID,\'%d :\',num); fprintf(fileID,\'%f\ \',area); fclose(fileID); tline = fgetl(fid); num++; end fclose(fid); Note : input file should be like [0 1 2]:[1 2 3] where x=[0 1 2] y=[1 2 3] .