Error C2059: syntax error: "=" - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Error C2059: syntax error: "="

MrPigeonMrPigeon AustraliaPosts: 8Member

Hey guys, I'm just trying to write a fairly simple program for a University course on procedural programming but when I try to compile I get the message
Error C2059: syntax error: "=" for lines 34 and 37.

I'm unsure as how to format code on this website and since the program fits nicely into one screenshot I have uploaded it to imgur:

Sorry if the answer is blindingly obvious but any help or advice would be greatly appreciated.

Sign In or Register to comment.