Wednesday, 7 March 2018

What is a Function and For Loop?

Function is the collection of programme statements that does a specific tasks done. It's a group of commands used to make only one command. Also a piece of command called easily over and over again like doing the whip and nae nae 3 times. It includes the specific steps performed in the function. 

For Loop runs a block of code over and over for a set of number times. It is a repetitive action or a command typically created with programming loops. For Loop is a control flow statement for specifying iteration, which allows code to be executed repeatedly.

1 comment:

  1. Hi Paikea,
    nice job on writing all about what a function and for loop is. It is nice on how you people what it means. Keep Working
    By Charlese