syntax error :'=' and fatal error, trying to do a 'for' loop

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cheetaqueen
    New Member
    • Oct 2017
    • 1

    syntax error :'=' and fatal error, trying to do a 'for' loop

    every time i run this in vs2010, is writes "syntax error :'='" and fatal error, what is my mistake?
    if(a*a+b*b==c*c ||a*a+c*c==b*b| |b*b+c*c*==a*a)
    d=5;
  • donbock
    Recognized Expert Top Contributor
    • Mar 2008
    • 2427

    #2
    What are the types of variables a, b, and c?
    (I want to make sure they aren't pointers.)

    The title of your post refers to a for loop. How is that involved here?

    Comment

    Working...