Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / make this logic chain logical and win a banana

Author
Message
The Real 87
20
Years of Service
User Offline
Joined: 3rd Mar 2004
Location: somewhere between 86 and 88
Posted: 6th Nov 2004 15:37
the below statement is true
the above statement is false.


make that lagitiment and win a banana.

This is my counting program
do: print "87" : loop
Eric T
21
Years of Service
User Offline
Joined: 7th Apr 2003
Location: My location is where I am at this time.
Posted: 6th Nov 2004 15:58
In reality the above statement is false, is a True statement. While the below statement is true is a false statement.

Easy...

The Real 87
20
Years of Service
User Offline
Joined: 3rd Mar 2004
Location: somewhere between 86 and 88
Posted: 6th Nov 2004 16:36
you don't make it, you simply thought what the statements wanted you to think and typed it out.

No banana for you.

This is my counting program
do: print "87" : loop
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 6th Nov 2004 17:33
It's a "classic paradox".

Solving it with recursion with result in a stack overflow.

BatVink
http://biglaugh.co.uk/catalog AMD 3000+ Barton, 512Mb Ram, 120 Gig Drive space, GeForce 5200 FX 128 Mb, Asus A7N8X Mobo.
Terms & Conditions apply
The admiral
22
Years of Service
User Offline
Joined: 29th Aug 2002
Location:
Posted: 6th Nov 2004 18:16
both are true because they are false

[href]www.vapourhost.com/~flyer[/href]
Neofish
20
Years of Service
User Offline
Joined: 7th Apr 2004
Location: A swimming pool of coke
Posted: 6th Nov 2004 19:11
you stick another phrase in between

[center]:: Architectonic 2.0 ::
[center]
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 6th Nov 2004 19:43
u forgot to add a sync

If no-one gives your an answer to a question you have asked, consider:- Is your question clear.- Did you ask nicely.- Are you showing any effort to solve the problem yourself
Dave J
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Feb 2003
Location: Secret Military Pub, Down Under
Posted: 6th Nov 2004 20:10
Quote: "you stick another phrase in between"


That wouldn't work, a statement can't be both true and false, you'd just be creating another paradox.


"Computers are useless - They can only give you answers."
Neofish
20
Years of Service
User Offline
Joined: 7th Apr 2004
Location: A swimming pool of coke
Posted: 6th Nov 2004 20:30
Ok then, stick 2 in....

[center]:: Architectonic 2.0 ::
[center]
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 6th Nov 2004 20:32
You guys call yourselves programmers? This is easy.

where the variable 'true' is set to 'the above statement is false' and the variable 'false' is set to 'the below statement is true':

the below statement is true
the above statement is false.

See? It all depends on the values you place on true and false

*** Coming soon - Network Plug-in - Check my site for info ***
For free Plug-ins, source and the Interface library for Visual C++ 6, .NET and now for Dev-C++ http://www.matrix1.demon.co.uk
Chris K
21
Years of Service
User Offline
Joined: 7th Oct 2003
Location: Lake Hylia
Posted: 6th Nov 2004 21:37
Eric T, you're not right.

If the bottom one is true, then the top one is right - so the bottom one is wrong.
Ilya
21
Years of Service
User Offline
Joined: 10th Aug 2003
Location:
Posted: 6th Nov 2004 22:53
Quote: " the below statement is true
the above statement is false."


The below statement is true.

So the above statement is false.
Which causes the above statement to be "1", and 1 is true.

Quote: "I've seen the word programming and I'm not sure what it means. Anybody please explain?"


Quote: "We shouldn't sacrifice the truth to preserve "balance"."
Eric T
21
Years of Service
User Offline
Joined: 7th Apr 2003
Location: My location is where I am at this time.
Posted: 7th Nov 2004 02:04
I stand corrected...

To make this logical it would have to be, as both statements are FALSE to begin with:

The statement below is false
the statement above is false

The Real 87
20
Years of Service
User Offline
Joined: 3rd Mar 2004
Location: somewhere between 86 and 88
Posted: 7th Nov 2004 05:03 Edited at: 7th Nov 2004 05:04
but if both statemnts are false then the botten statment would read...

the above statement is not false.

which would make the above statement true.

and the top statement would read...

the below statement is not true.

This is my counting program
do: print "87" : loop
Emperor Baal
20
Years of Service
User Offline
Joined: 1st Dec 2003
Location: The Netherlands - Oudenbosch
Posted: 7th Nov 2004 05:19
The below statement is true
The above statement is false

is just a loop:



do
cls
rem FIRST STATEMENT
if statement_one = 0 then statement_two = 0
if statement_one = 1 then statement_two = 1

rem SECOND STATEMENT
if statement_two = 0 then statement_one = 1
if statement_two = 1 then statement_one = 0

text 5,5,str$(statement_one)
text 5,20,str$(statement_two)
sync
loop


as you can see, no paradox, no stackoverflow, no whatever

just 1010101010010101010101010101010 etc

computer
20
Years of Service
User Offline
Joined: 5th Oct 2004
Location:
Posted: 7th Nov 2004 06:47 Edited at: 7th Nov 2004 06:49
the below statement is true
the above statement is false.

the statement below says it is false, so I guess that's true. Otherwise your logic is incorrect. Your just a nutter. You roll over just after you go to sleep. Isn't that nice.

Perhaps the top statement IS false after all.

bleep bleep
Benjamin
22
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 7th Nov 2004 07:04
Computer you freak, stop trying to be funny, your not cut out for it.

AKA teh great Pet Rat.
Peace sells...but who's buying??
The Real 87
20
Years of Service
User Offline
Joined: 3rd Mar 2004
Location: somewhere between 86 and 88
Posted: 8th Nov 2004 01:21
Emperor Baal you win a banana

(download it below)

This is my counting program
do: print "87" : loop

Attachments

Login to view attachments
The Real 87
20
Years of Service
User Offline
Joined: 3rd Mar 2004
Location: somewhere between 86 and 88
Posted: 8th Nov 2004 01:23
I was waiting for someone to write it in a program. You call yourselves programers.

This is my counting program
do: print "87" : loop
Chris K
21
Years of Service
User Offline
Joined: 7th Oct 2003
Location: Lake Hylia
Posted: 8th Nov 2004 01:26
My spooooooon is too big.
The Real 87
20
Years of Service
User Offline
Joined: 3rd Mar 2004
Location: somewhere between 86 and 88
Posted: 8th Nov 2004 01:27
tuesday is comeing did you bring your coat?
I live in a giant bucket.


Do you want to go see a movie?
I am feeling fat and sassy.

This is my counting program
do: print "87" : loop
Chris K
21
Years of Service
User Offline
Joined: 7th Oct 2003
Location: Lake Hylia
Posted: 8th Nov 2004 01:28
Where can I download that?

I haven't seen it for ages.
The Real 87
20
Years of Service
User Offline
Joined: 3rd Mar 2004
Location: somewhere between 86 and 88
Posted: 8th Nov 2004 01:30
http://www.5skaggs.com/Life_as_a_Guy.htm

This is my counting program
do: print "87" : loop
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 10th Nov 2004 18:29
heres a spanner in the works for your problem, if you both agree to disagree then it becomes a positive thing, and that means u agree.

If no-one gives your an answer to a question you have asked, consider:- Is your question clear.- Did you ask nicely.- Are you showing any effort to solve the problem yourself
bitJericho
22
Years of Service
User Offline
Joined: 9th Oct 2002
Location: United States
Posted: 10th Nov 2004 22:23
emporer baal, batvink said solving it with *recursion* would create a stack overflow..

proper recursion code::



that should result in a stack overflow

[center]
Come write!
Yarr join LoGD, and defeat other coders!

Login to post a reply

Server time is: 2024-11-26 11:54:24
Your offset time is: 2024-11-26 11:54:24