a guest Mar 24th, 2019 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- * Live Coding Section
- * - You don't need to finish all of this.
- * - Using the internet to look things up is encouraged.
- echo 'Live Coding Section starts here! <br/><br/>';
- // Write three functions that compute the sum of the numbers in a given list using: a for-loop, a while-loop, and then recursion.
- // Write a function that combines two lists by alternatingly taking elements. For example: given the two lists (a, b, c) and (1, 2, 3), the function should return (a, 1, b, 2, c, 3).
RAW Paste Data