Ruby - Methods
You want to define a method that calculates the total price with tax. The tax rate should default to 0.1 (10%) if not provided. Which method definition correctly achieves this?
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions