News

Functions manipulate data and return a value to the main program. A local variable is a ... SUBROUTINE print_hello() lines = 5 FOR count <- 1 TO lines OUTPUT "Hello!" ENDFOR ENDSUBROUTINE Outside ...
Key fact Procedures perform a specific task but do not return a value. Functions manipulate data and return a value to the main program.