Calculate Crypto Average Price
calculateCryptoAveragePrice
that takes an array of cryptocurrency objects and returns a Promise that resolves to the average price of all the cryptocurrencies. The cryptocurrency objects have a price
property.calculateCryptoAveragePrice([{ name: 'Bitcoin', price: 50000 }, { name: 'Ethereum', price: 2000 }])
would return 26000.