Choose only one of the following 3 possible topics and answer the question provided there. In other words, answer only one out of the following three:
1. Create your own Subprogram that does *not* use any input parameters. You decide the theme. You should provide the pseudocode and an example Subroutine call. Be sure to provide an overview of what your subprogram is doing. Be sure to include the entire Main program that calls the Subprogram, too. The 3 submodules on pg. 83 have no input parameters.
2. Create your own Subprogram that uses at least one input parameter and a return parameter. You decide the theme. You should provide the pseudocode and an example Subroutine call. Be sure to provide an overview of what your subprogram is doing. Be sure to include the entire Main program that calls the Subprogram, too.A submodule with with at least one input parameter is found on pg. 380. OriginalPrice and DiscountRate are the input parameters. The output is NewPrice.
3. Differentiate, through pseudocode examples, passing by value and passing by reference. Be sure to provide an overview of what your subprograms are doing and what makes them different. Be sure to include the entire Main program that calls the Subprogram, too.