Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Capicua
#3
Hi, Neo:

Yes, your program is very perfect.!!!

My program is simple.

The two programs do the same thing.
I think your program is perfect, but excessive.
My program is this:
......................................................................
INPUT "Text / Number to comp. = "; z$
PRINT z$
PRINT
l = LEN(z$)
FOR n = 1 TO l
a$ = MID$(z$, n, 1)
b$ = MID$(z$, (l + 1) - n, 1)
IF a$ <> b$ THEN PRINT "No es capicua / Not is capicua": BEEP: GOTO 20
NEXT n
PRINT "Si, es capicua / Yes, is capicua"
20 :
END
...................................................................................
Aprox. 10 Lines.
I think that the development must be to proportional the expected result.

Your program is completely perfect.!!!

Greetings from Spain

Thanks for your interest!!!
Reply


Messages In This Thread
Capicua - by lrcvs - 09-17-2008, 10:43 PM
Re: Capicua - by Neo - 09-24-2008, 01:50 PM
to : Neo - by lrcvs - 09-25-2008, 02:21 AM
Re: Capicua - by Ralph - 09-25-2008, 09:10 AM
Re: Capicua - by roy - 09-25-2008, 03:10 PM
Re: Capicua - by Neo - 09-25-2008, 03:22 PM
Re: Capicua - by lrcvs - 09-25-2008, 10:36 PM
Re: Capicua - by Ralph - 09-26-2008, 09:13 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)