#!/usr/bin/perl -w use strict; CHOICE: print " This is Unit 6 - Quadrilaterals and Polygons.\n For the Final Exam, you will have to know the\n properties of all quadrilaterals and how to\n prove that a given shape is any quadrilateral.\n To access the Quadrilateral Information Database,\n type 'Quads.' To access the Casio-Maxim Quadrilateral\n Identification Algorithm, type 'crazy Maxim.'\n Type 'quit' to exit Unit 6.\n Type your choice.\n\n"; my $Choice = ; chomp $Choice; if($Choice =~ /quit/i) {print "\nBye.\n\n"; exit;} if($Choice =~ /quads/i) {require "Quadrilaterals.pl";} if($Choice =~ /crazy maxim/i) {require "CMQIA.pl";} #### #!/usr/bin/perl -w use strict; ORIGINAL: print " Welcome to the Casio-Maxim Quadrilateral Identification\n Algorithm. In order to identify said quadrilateral,\n you must have the coordinates of all 4 vertices.\n"; PROMPT: print " When you are ready to input your coordines, type\n 'ready.' Type anything else to exit the CMQIA.\n\n"; my $choice = ; if($choice =~ /ready/i) {goto MAXIM;} if($choice !~ /ready/i) {require "Unit6.pl"; system("Unit6.pl"); require "Unit6.pl"; goto ORIGINAL;} MAXIM: print "\nFor shape ABCD, in which point A has coordinates (X1, Y1), B has coordinates\n\n(X2, Y2), C has coordinates (X3, Y3), and D has coordinates (X4, Y4),\n\nX1 = "; my $AX = ; chomp $AX; …