This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// res is an empty object that holds an array designers: [] | |
// For each designer object in the inventory... | |
// Add an object to the array in res with name: designer.name | |
// For each shoe in designer[shoes]... | |
// Add shoe price to an array of shoe prices | |
// Get the average of the shoe prices | |
// Add averagePrice: averageOfShoePrices to the designer's object in res | |
// return res | |
function getAverageDesignerPrices(inventory) { | |
var res = {'designers':[]}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* blink_ArduinoUnoR3.c | |
* | |
* Created: 7/12/2017 9:30:30 AM | |
* Author : Thomas Brannan | |
* | |
* A simple blink application for the Arduino Uno R3 (ATmega328P) | |
* @ http://www.microdigitaled.com/AVR/Software/CProgrammingInAtmelStudio6.pdf | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* GccApplication2.cpp | |
* | |
* Created: 7/15/2017 11:32:42 PM | |
* Author : Thomas Brannan | |
* | |
* This is starter kit project 3, the 'Love-O-Meter' (temperature sensor). | |
* ... Note that this version uses an EXTERNAL temperature sensor. | |
* | |
* References: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* GccApplication2.cpp | |
* | |
* Created: 7/15/2017 11:32:42 PM | |
* Author : Thomas Brannan | |
* | |
* This is starter kit project 3, the 'Love-O-Meter' (temperature sensor). | |
* ... Note that this version uses an EXTERNAL temperature sensor. | |
* | |
* References: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* GccApplication2.cpp | |
* | |
* Created: 7/15/2017 11:32:42 PM | |
* Author : Thomas Brannan | |
* | |
* This is starter kit project 3, the 'Love-O-Meter' (temperature sensor). | |
* ... Note that this version uses an EXTERNAL temperature sensor. | |
* | |
* References: |