Simple rectangle code gives an error

Printable View