Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/perl -w
- use strict;
- use warnings;
- print "Names of everyone in your family: ";
- my @names = <STDIN>;
- my @sortednames = sort(@names);
- my $count = @sortedname;
- for ( $i=0; $i <= $count; $i++ ) {
Add Comment
Please, Sign In to add comment