Pearly Perl
Friday, September 17, 2010
WAP to reverse the string.
#!/depot/perl-5.8.3/bin/perl
my @line=qw (Hii welcome to Perl.);
@arr1=reverse (@line);
print "@arr1 \n";
OUTPUT:
Perl. to welcome Hii
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment