Question: Question 2 (10 points) Following the phases of code development, write a program that contains a function that determines the max value in an array
Question 2 (10 points) Following the phases of code development, write a program that contains a function that determines the max value in an array and then prints the result to the serial monitor you can make up your own values to store in the array, should be at least 10 values). When writing your code, be sure to follow good coding practices. HINT 1: The code in Quiz 3, Question 2 is similar (finds the sum of all the values in an array). HINT 2: To test your code in TinkerCAD - insert an arduino into the circuit design area and leave the loop function blank. Phase 1. Write an algorithm in pseudocode Write your pseudocode here Phase 2. Draw a flow chart of your function only (you do not need to create a flowchart for your entire code) Insert your flow chart here Phase 3. Write the code for your algorithm in Arduino language Write or copy/paste your Arduino code here
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
