Some basic conventions for describing a program with input, variables, etc.

Input

You want to indicate that data is coming into the program from some external source.

get name from user
get user_record from employee_database

Variables

set points to 2
set names to 'Dave', 'Reggie', 'Hope', 'Colleen'

Conditionals

if points is less than 0 
     print “You lose!”
elseif points is greater than 100
    print "High Score"
else
    print "You won, but didn't get the high score"
endif

Loops

For Each

for each name in names 
     print name
endfor

For Loop

for every number from 1 to 100
    print number
endfor

While Loop

while user_input is not 'Exit'
   ...do something here
endwhile

Functions

function print_message 
    pass in message
    print message
endfunction

call print_message with "Howdy!"