You want to write a Swift function that calculates the total price including tax. The tax rate should default to 5%. How would you declare this function?
hard📝 Application Q8 of 15
Swift - Functions
You want to write a Swift function that calculates the total price including tax. The tax rate should default to 5%. How would you declare this function?