Getting Started
Both input and output are values or messages that come from somewhere.
- Input:
- Can come from the user (typed in through the keyboard)
- Can come as arguments in a function call (see Functions for more info)
- Output:
- Can be instructions displayed for the user
- Can be returned from functions (see Functions for more info)
Output a message to the user
- Start the program Flowgorithm. It should be available on the lab computers under"Programs". If you are using your own laptop or a home computer you will need to download it from flowgorithm.org (it is free software).
The opening screen should look like the diagram below.
- Let's create a very simple flowchart, one that will display "Hello World!"
Hover over the arrow between Main and End. It should turn red. Click on it, and a menu of shapes will appear.
- Choose the green output parallelogram. You should now see a grey shape on your flowchart. In order to enable it, you need to double click it and enter a statement. In our case we want to say "Hello World". Click OK to close the dialog box.
(Remember to use double quotes around your output statement or you will get an error).