Error C2059: syntax error: "="

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.

Howdy, Stranger!

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