SHARE
TWEET

Untitled

a guest Mar 24th, 2019 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.     /**
  3.     *   Live Coding Section
  4.     *   - You don't need to finish all of this.  
  5.     *   - Using the internet to look things up is encouraged.
  6.     */
  7.    
  8.     echo 'Live Coding Section starts here! <br/><br/>';
  9.  
  10.     // Write three functions that compute the sum of the numbers in a given list using: a for-loop, a while-loop, and then recursion.
  11.    
  12.  
  13.  
  14.     // 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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top