I have a student who has a function with parameters. Separately, he has an IF statement and a loop but it’s not actually IN the function. Is this ok?
I have read that the function with the parameter (and sequence) must call the function(s) with selection and loop. When submitting you must submit all the functions that make up the algorithm as a group with the function that takes a parameter at the top.
If you have a function and a bunch of unrelated code scattered about it doesn’t count.