Week 18 
Week of 1/13
Create - Due to me, marked as FINAL in Digital Portfolio, Feb. 28
| In Class | Homework | |
|---|---|---|
| Mon | Go over Narrow it Down | Complete the function practice problem below and screenshot your code and upload to Canvas Assignment Make sure you feel as if you can program your idea | 
| Tue | Work on Create D1 Collaborate with your classmates and ask Ms. Beaman about your idea before you start writing it | Work on Create | 
| Wed | Work on Create D2 | Work on Create | 
| Thu | Work on Create D3 | Work on Create | 
| Fri | Work on Create D4 | Create Check-In due Sunday at 11:59pm in Canvas | 
Function Practice Problem
- We are taking the concepts from max.cand instead of getting the max value from the array, you are to average the numbers and return that value to a print statement withinmain
- Below is the starter code. I have only included getting the number of elements and assigning values to the array. Your job is to write the function, and to place the function call within a print statement. Make sure to include the function declaration where appropriate.
- In comments in your code, identify the function declaration, function definition, and function call
- When you have compiled, run and fixed any bugs in your code, take a screenshot of the completed program and upload that in the Canvas assignment.
- Starter code:
    #include <stdio.h> int main(void) { int n; do { n = get_int("Number of elements: "); } while (n < 1); int arr[n]; for (int i = 0; i < n; i++) { arr[i] = get_int("Element %i: ", i); } }