Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2017
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 0.23 KB | None | 0 0
  1. #!usr/bin/perl
  2. print "How to work out the area of a square?\n";
  3. print "What is the length of 1 side of the square?\n";
  4. $length=<STDIN>;
  5. print "The area of your square is ";
  6. print $length**2;
  7. print "\nLaters biatch :)  DTL(C)";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement