9th Feb 2019, 9:44 AM
Gujjula Pradeep Reddy
Gujjula Pradeep Reddy - avatar
3 Answers
+ 8
Line 13: '==' should be used for equality comparison instead of '=' (assignment operator).
9th Feb 2019, 9:47 AM
Hatsy Rei
Hatsy Rei - avatar
+ 4
Yes. == needed to check equality. = is used for assignment. You can also use debug type printf statements as in the following to see what is happening in your code (but not for compiler errors like the ==). https://code.sololearn.com/c29V1vRI7zP9/?ref=app
9th Feb 2019, 10:47 PM
Sonic
Sonic - avatar
+ 4
EMANUELE OGGIANO could you check again. If you input 5 you get your desired triple.
10th Feb 2019, 2:21 AM
Sonic
Sonic - avatar