20 min
Find the exchange rate between dollars and pounds
- Write a function
dollarsToPoundsthat takes a dollar number as input and outputs a string of what the pound equivalent is.
"$_____ is £_____"
- Write a function
poundsToDollarsthat takes a pound number as input and outputs a string of what the dollar equivalent is.
"£_____ is $_____"