Console Based Hello World! with Strings
| Programming Features: |
- Console Application
- Integer and String Variables
- Command Line Parameter Parsing
- Case/Switch Statement
- String Concatenation
- Console Output to Standard Output
| Description: |
- Program Phase Task 1 is slightly more advanced than a traditional Hello World! console program. Two lines of output are generated each time a Program Phase that implements Program Phase Task 1 is executed. The first line of output is dependent on the number of command line parameters entered by the user at runtime. The second line of output is the text string "Hello World!".
Sample execution of Program Phase 1-3 with a single parameter:
- If the user attempts to enter more than one command line parameter, the program outputs an error.
| See Also |