We don't bite newbies here... much | |
PerlMonks |
Perl Palindromeby hushbaby (Initiate) |
on Apr 15, 2014 at 04:00 UTC ( [id://1082295]=perlquestion: print w/replies, xml ) | Need Help?? |
hushbaby has asked for the wisdom of the Perl Monks concerning the following question:
This is my code:
I have to enter the number individually, I am trying to find a way to enter the 9 numbers all at once. But in this case I have to enter one number and press enter on and on till I reach the 9th number. Please can anyone help me to figure out a way to input the number in this format. Print" please enter 9 number: \n" 123456789 Not Palindrome. or Print" please enter 9 number: \n" 123454321 Palindrome In my case I have to enter: 1 2 3 4 5 6 7 8 9 Not Palindrome. I dont want it to be this way. Please I will apreciate any help.
Back to
Seekers of Perl Wisdom
|
|