- Learning Objective To Practice Creating Functions That Takes In An Array And Working With Arrays In General 1 Create 1 (59.85 KiB) Viewed 39 times
Learning Objective: To practice creating functions that takes in an array, and working with arrays in general. 1. Create
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Learning Objective: To practice creating functions that takes in an array, and working with arrays in general. 1. Create
Learning Objective: To practice creating functions that takes in an array, and working with arrays in general. 1. Create an array of size 10, add the following names to the array in this order: Cesar, Jason, Enrique, Francisco, Gerardo, Daniel, Benjamin, Angelica, Ivan, Henry. 2. Using the sorting techniques learned in the lesson output the list of names in alphabetical order. 3. Next, implement a search option, prompt the user, "Who are you looking for?" and output whether the person they are looking for has been found our not (use the search technique covered in lecture for searching through an array) Sample Output: Angelica Benjamin Cesar Daniel Enrique Francisco Gerardo Henry Ivan Jason Grading Criteria - does not use arrays properly does not use a for loop where needed does not implement sorting algorithm - does not implement searching in an array correctly *Please note that other points may be subtracted for other reasons.