Warning: Undefined variable $sum in /users/2019/i1919058/public_html/2022/WebProg/ch07/exam07-02.php on line 9

Warning: Undefined variable $sum in /users/2019/i1919058/public_html/2022/WebProg/ch07/exam07-02.php on line 11

Fatal error: Maximum execution time of 30 seconds exceeded in /users/2019/i1919058/public_html/2022/WebProg/ch07/exam07-02.php on line 11