What's wrong in this code..?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
1st Feb 2019, 7:17 PM
Rushi
4 Answers
+ 6
Line 20: if((a==b && b==c) && (sum==180)) Line 29: string is broken in 2 lines Line 43: string is broken in 2 lines I'm not sure about calculation, I look at syntactic problems first ... Hth, cmiiw
1st Feb 2019, 8:14 PM
Ipang
+ 3
This is C language so an equation uses a double "==" (sum=180) // this is a assignment also can only use two parameters in one equation if((a==b==c) three parameters in one equation
1st Feb 2019, 8:09 PM
sneeze
sneeze - avatar
+ 3
Thank you so much guys.... I never thought someone will reply me.
1st Feb 2019, 9:28 PM
Rushi
1st Feb 2019, 9:33 PM
sneeze
sneeze - avatar