logo
logo

Crypto Converter

Beginner

Crypto Converter

Create a class named
CryptoConverter
that has a static method named
convertToUSD
that takes in a cryptocurrency object with a
price
property and a
quantity
parameter, and returns the total value in USD. The conversion rate is fixed at 50 USD per unit of cryptocurrency.
Console
Submit
Solution
00:00