Proof of X≤Y inverse to X˃Y
|
09-01-2018, 12:57 PM
(This post was last modified: 09-01-2018 01:13 PM by Gamo.)
Post: #7
|
|||
|
|||
RE: Proof of X≤Y inverse to X˃Y
To recap on this topic the main part of these two test difference is
1. X is less than or equal to Y 2. X is greater than Y Example with equal integers on stacks X and Y will get result with "less than or equal to" another is "greater than" When stacks X and Y are both 100 [X≤Y] 100 ≤ 100 is True [X˃Y] 100 ˃ 100 is False // This test will not use greater than or equal to When doing the inverse logic in program next line will be False follow by True 01 Inverse Logic 02 False 03 True I believe that it is sometime very handy to have this conditional test when needed. Gamo |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)