Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
So how did you get your nickname used here?
#15
Quote:
whitetiger0990 Wrote:It's a coincidence that it's symmetric
thats called a palindrome.

like: "A man, a plan, a canal, Panama"
THAT ISN'T A &#%*ing PALINDROME!
Code:
DIM AS STRING Phrase,R_Phrase
Phrase="a man a plan a canal panama"
FOR I=LEN(Phrase) TO 1 STEP -1
    R_Phrase=R_Phrase + MID(Phrase,I,1)
NEXT
IF R_Phrase=Phrase THEN PRINT "Palindrome confirmed."
IF R_Phrase<>Phrase THEN PRINT "Not a palindrome."
SLEEP
Tongue
f only life let you press CTRL-Z.
--------------------------------------
Freebasic is like QB, except it doesn't suck.
Reply


Messages In This Thread
So how did you get your nickname used here? - by Zack - 02-08-2006, 07:46 AM
So how did you get your nickname used here? - by Anonymous - 02-09-2006, 03:48 PM
So how did you get your nickname used here? - by Anonymous - 02-14-2006, 09:58 PM
So how did you get your nickname used here? - by Anonymous - 02-16-2006, 10:05 AM
So how did you get your nickname used here? - by Anonymous - 02-17-2006, 09:04 AM
So how did you get your nickname used here? - by Anonymous - 04-26-2006, 03:21 PM
So how did you get your nickname used here? - by Anonymous - 04-27-2006, 12:55 PM
So how did you get your nickname used here? - by Anonymous - 04-28-2006, 06:30 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)