Computer Science Canada Computer Studies Assignment Help |
Author: | ManvirS [ Sat Nov 14, 2015 6:36 pm ] | ||
Post subject: | Computer Studies Assignment Help | ||
What is it you are trying to achieve? I got an assignment from my teacher and I don't understand how to do this question. What is the problem you are having? I think I wrote this wrong, but whenever I enter any 3 side lengths, it always shows up as a triangle, even if it's not. Describe what you have tried to solve this problem I went through my code to see if something was wrong, but I don't understand why my program isn't working. Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)
Please specify what version of Turing you are using Turing 4.1.1 |
Author: | xSavage [ Sun Nov 15, 2015 8:37 am ] |
Post subject: | Re: Computer Studies Assignment Help |
Instead of putting elsif try putting else, it's much easier. So this is what you would have : else then put "This is not a triangle." |