Blockly Coding Tasks
This type of task is very flexible: Task authors can set problems where a variety of solutions can be given credit for producing the correct answer. These tasks use Function blocks and take this form:
Try writing this code into the function in the workspace below.
This function now adds the values in the variables b and c, adds them and returns the sum. Run the program to see how this works.
Recommended practice
Functions, Procedures and Subroutines