Pseudocode
Compiler
·
by Sherlemious
Docs
Learn
Practice
Exam
Flowchart
Pricing
Ctrl K
FUNCTION and RETURN
Level 8: Routines. Use the result in an expression. FUNCTION … RETURNS type, then RETURN value.
Other lessons in level 8
PROCEDURE and CALL
PROCEDURE with a parameter
Use a FUNCTION in OUTPUT
Parameters, local vs global
ROUND, RANDOM, DIV, MOD
Boss: Easy Procedures
Previous:
PROCEDURE with a parameter
Next:
Use a FUNCTION in OUTPUT
IGCSE & O Level Paper 2 Path