No matter how my code is correct the program will no run why? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 3

No matter how my code is correct the program will no run why?

5th May 2017, 8:45 PM
cletus
2 Answers
+ 14
because Mars, Earth and Venus form a line and make your code not work... seriously: how would we know without knowing your code?
5th May 2017, 8:53 PM
Mario L.
Mario L. - avatar
+ 13
in programming you can't assume your code is correct, especially if it breaks. its possible for you to be correct and whatevers running your code wrong, but that is pretty rare and you can test run it out on multiple things. remember that the computer will always do what you tell it to do (but not always what you want). always assume you could be wrong. there have been so many times I thought a code should be working, only to discover I made a silly mistake somewhere
5th May 2017, 9:29 PM
Ahri Fox
Ahri Fox - avatar