Add custom methods directly within the record's body.
To add logic to a record, you can define methods within its body. This is useful for calculations or data transformations, like a `Discount` record that computes the discounted price based on a `rate`.
Additional Notes
How can you define additional logic within a record?