capital ------- capital is a lightweight plugin written for our extensibel shell. The plugin's usage is as follows: "capital [-a] ". is the name of any of the 50 US states. When used without the -a switch, capital will print to STDOUT the capital city of the state the user inputs. When used with "-a" switch, the program will still output the capital of that state as before, but also the abbreviation of that state as well. If the user inputted an invalid state, an appropriate message is printed to STDOUT. For example, entering "capital New Jersey" at the prompt will print New Jersey's capital is: Trenton Entering "capital -a New Jersey" will output: New Jersey's capital is: Trenton New Jersey's abbreviation is: NJ This program is implemented in an ad-hoc manner with many if/else blocks. We use the method strcat() to concatenate state names that are two words (e.g. New Jersey). capital is supported on all shells.