Hello!

I have researched and worked on my code for days and I still can't figure out why I am receiving an error. Please help if you can!

This is the program to be designed:
Write a query...