Have multiple values and need to evaluate. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Have multiple values and need to evaluate.

so I'm doing an HTML project for magic squares webgame ..and I have the values of the code stored in variables (9 variables) so the condition to check is 7 (sum of each rows and columns and a diagonal) how can I check everything in a single statement.. pls help and upvote to get many help

19th Jul 2018, 2:54 PM
Ritheesh
Ritheesh - avatar
3 Answers
+ 1
Linking your code would make it easier to help you
19th Jul 2018, 3:13 PM
TurtleShell
TurtleShell - avatar
0
actually I have in my college pc so I will send it tomorrow. be sure to check it tomorrow
19th Jul 2018, 3:16 PM
Ritheesh
Ritheesh - avatar
0
sorry TurtleShell I really appreciate your help but we fixed it ourselves
20th Jul 2018, 3:02 AM
Ritheesh
Ritheesh - avatar