(Latest Revision: Tue Oct 7 11:01:25 PDT 2014 ) pumpkins script

pumpkins script


Script started on Tue Oct  7 10:03:25 2014
lucifer.local>> a.out

This program has a Halloween theme.
It uses ASCII art to make a column of pumpkins. You may
request a column containing between 2 and 7 pumpkins.

How many pumpkins would you like to see? ===> -39

Negative: bad value.

lucifer.local>> a.out

This program has a Halloween theme.
It uses ASCII art to make a column of pumpkins. You may
request a column containing between 2 and 7 pumpkins.

How many pumpkins would you like to see? ===> 0

Zero: bad value.

lucifer.local>> a.out

This program has a Halloween theme.
It uses ASCII art to make a column of pumpkins. You may
request a column containing between 2 and 7 pumpkins.

How many pumpkins would you like to see? ===> 1

One: bad value.

lucifer.local>> a.out

This program has a Halloween theme.
It uses ASCII art to make a column of pumpkins. You may
request a column containing between 2 and 7 pumpkins.

How many pumpkins would you like to see? ===> 2

                 ,
                _))._
              /`'---'`\
             |  <\ />  |
             | \  ^  / |
             \  '-'-'  /
          jgs '--'----'
                 ,
                _))._
              /`'---'`\
             |  <\ />  |
             | \  ^  / |
             \  '-'-'  /
          jgs '--'----'
         ******************
       **********************
     **************************

lucifer.local>> a.out

This program has a Halloween theme.
It uses ASCII art to make a column of pumpkins. You may
request a column containing between 2 and 7 pumpkins.

How many pumpkins would you like to see? ===> 4

                 ,
                _))._
              /`'---'`\
             |  <\ />  |
             | \  ^  / |
             \  '-'-'  /
          jgs '--'----'
                 ,
                _))._
              /`'---'`\
             |  <\ />  |
             | \  ^  / |
             \  '-'-'  /
          jgs '--'----'
                 ,
                _))._
              /`'---'`\
             |  <\ />  |
             | \  ^  / |
             \  '-'-'  /
          jgs '--'----'
                 ,
                _))._
              /`'---'`\
             |  <\ />  |
             | \  ^  / |
             \  '-'-'  /
          jgs '--'----'
         ******************
       **********************
     **************************

lucifer.local>> a.out

This program has a Halloween theme.
It uses ASCII art to make a column of pumpkins. You may
request a column containing between 2 and 7 pumpkins.

How many pumpkins would you like to see? ===> 7

                 ,
                _))._
              /`'---'`\
             |  <\ />  |
             | \  ^  / |
             \  '-'-'  /
          jgs '--'----'
                 ,
                _))._
              /`'---'`\
             |  <\ />  |
             | \  ^  / |
             \  '-'-'  /
          jgs '--'----'
                 ,
                _))._
              /`'---'`\
             |  <\ />  |
             | \  ^  / |
             \  '-'-'  /
          jgs '--'----'
                 ,
                _))._
              /`'---'`\
             |  <\ />  |
             | \  ^  / |
             \  '-'-'  /
          jgs '--'----'
                 ,
                _))._
              /`'---'`\
             |  <\ />  |
             | \  ^  / |
             \  '-'-'  /
          jgs '--'----'
                 ,
                _))._
              /`'---'`\
             |  <\ />  |
             | \  ^  / |
             \  '-'-'  /
          jgs '--'----'
                 ,
                _))._
              /`'---'`\
             |  <\ />  |
             | \  ^  / |
             \  '-'-'  /
          jgs '--'----'
         ******************
       **********************
     **************************

lucifer.local>> a.out

This program has a Halloween theme.
It uses ASCII art to make a column of pumpkins. You may
request a column containing between 2 and 7 pumpkins.

How many pumpkins would you like to see? ===> 8

More than seven: bad value.

lucifer.local>> a.out

This program has a Halloween theme.
It uses ASCII art to make a column of pumpkins. You may
request a column containing between 2 and 7 pumpkins.

How many pumpkins would you like to see? ===> 15

More than seven: bad value.

lucifer.local>> exit
exit

Script done on Tue Oct  7 10:05:33 2014