Last active
April 18, 2023 22:08
-
-
Save adamgarcia4/416d98cc8e9895401ed0c62319e30fd2 to your computer and use it in GitHub Desktop.
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
// Write an application that tells us which ticker has a greater open price | |
const getExpensiveStock = async () => { | |
console.log("============ START ===========") | |
// Problem Decomposition | |
// 1. Define Names of Stocks to pull | |
const ticker1 = undefined | |
const formattedTicker1 = ticker1 | |
const ticker2 = undefined | |
const formattedTicker2 = ticker2 | |
// 2. Pull the stock information from the API | |
const ticker1OpenPrice = undefined | |
const ticker2OpenPrice = undefined | |
// 3. Display Retrieved Prices | |
// 4. Compare Stocks and Output Result | |
console.log("============ END ===========") | |
} | |
getExpensiveStock() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment