RE: 'Unknown' and three-valued logic
- Posted by rforno at tutopia.com Nov 28, 2002
- 447 views
Simple. If you are not a citizen OR you are not unemployed OR you have not earned more than $ 10000 previous year OR you don't have documentation proving all of these asserts, you wont receive the benefit. Alternative solution: If you are a citizen AND you are unemployed AND you have earned more than $ 10000 previous year AND you have documentation proving all this, you'll receive the benefit. If employment office cannot make a positive decision, it means you wont receive the benefit. No one can get money that wasn't released. And I think most Informatics courses students will easily solve this problem, without having to be very talented. Regards. ----- Original Message ----- From: Rom <kjehas at frisurf.no> To: EUforum <EUforum at topica.com> Sent: Tuesday, November 26, 2002 5:18 AM Subject: Re: 'Unknown' and three-valued logic From: "Juergen Luethje" <jluethje at gmx.de> > Rob kindly put my small Euphoria library containing logical, > relational, and arithmetic operations that can handle the value > 'unknown' at the 'Recent User Contributions' Page: > > http://www.rapideuphoria.com/unknown.zip > > Any comments are welcome. I posted the example below two weeks ago(?) here (what none except the most talented programmers can solve) as something that requires three-valued logic. Do you agree? (I already feel I was right i my assupmtion) Rom Example case: Simplified rules for unemployments benefits. How to program such rules? To qualify for unemployment benefits.... 1) you must be a national citizen 2) you must be unemployed 3) you must have earned more than $10000 previous year 4) all facts must be documented (if you haven't supplied sufficient domentation then employment office cannot make a positive decision) ==^^=============================================================== This email was sent to: rforno at tutopia.com