A PHP Error was encountered

Severity: Warning

Message: Trying to access array offset on value of type bool

Filename: controllers/Question.php

Line Number: 30

Backtrace:

File: /home3/allentea/public_html/interactive/application/controllers/Question.php
Line: 30
Function: _error_handler

File: /home3/allentea/public_html/interactive/index.php
Line: 315
Function: require_once

Grade 5 - Multi-step Problems
 

Tammy purchased 3 apples and 5 pears for $9.52. If every piece of fruit costs the same amount, how much did each piece cost?

(Enter your answer as money including two decimal places and a $)