Please help fix error for two programs!

Printable View