#!/usr/bin/perl
#w3.1.pl  statement blocks; if statement

print ("How many hotdogs would you like?  ");

chomp($no= <STDIN>);

if ($no <= 0){
   print ("So you are the vegetarian.\n");
   }
elsif ($no <= 2){
   print ("We can handle $no. \n");
   }
elsif ($no >=3){
   print ("We can put more on.  ");
   print ("By the way, you won't mind\nif we keep the ambulance handy.\n");
   }

__END__

