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

  1. 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. Program Start

  1. 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.

right click context

  1. 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).

results matching ""

    No results matching ""