(Latest Revision: Fri Mar 6 00:03:25 PST 2015 ) shamrockScript

shamrockScript


Script started on Thu Mar  5 23:58:50 2015
lucifer.local>> a.out

This program has a spring theme.
It uses ASCII art to make a column of shamrocks. You may
request a column containing between 1 and 5 shamrocks.

How many shamrocks would you like to see? ===> -2

Negative: bad value.

lucifer.local>> a.out

This program has a spring theme.
It uses ASCII art to make a column of shamrocks. You may
request a column containing between 1 and 5 shamrocks.

How many shamrocks would you like to see? ===> -1

Negative: bad value.

lucifer.local>> a.out

This program has a spring theme.
It uses ASCII art to make a column of shamrocks. You may
request a column containing between 1 and 5 shamrocks.

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

Zero: bad value.

lucifer.local>> a.out

This program has a spring theme.
It uses ASCII art to make a column of shamrocks. You may
request a column containing between 1 and 5 shamrocks.

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

                    .-.-.
                   (     )
                 .-.\ : /.-.
                (   .`:`.   )
                 (   /|\   )
            jgs   `"` | `"`
             ******************
           **********************
         **************************

lucifer.local>> a.out

This program has a spring theme.
It uses ASCII art to make a column of shamrocks. You may
request a column containing between 1 and 5 shamrocks.

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

                    .-.-.
                   (     )
                 .-.\ : /.-.
                (   .`:`.   )
                 (   /|\   )
            jgs   `"` | `"`
                    .-.-.
                   (     )
                 .-.\ : /.-.
                (   .`:`.   )
                 (   /|\   )
            jgs   `"` | `"`
             ******************
           **********************
         **************************

lucifer.local>> a.out

This program has a spring theme.
It uses ASCII art to make a column of shamrocks. You may
request a column containing between 1 and 5 shamrocks.

How many shamrocks would you like to see? ===> 5

                    .-.-.
                   (     )
                 .-.\ : /.-.
                (   .`:`.   )
                 (   /|\   )
            jgs   `"` | `"`
                    .-.-.
                   (     )
                 .-.\ : /.-.
                (   .`:`.   )
                 (   /|\   )
            jgs   `"` | `"`
                    .-.-.
                   (     )
                 .-.\ : /.-.
                (   .`:`.   )
                 (   /|\   )
            jgs   `"` | `"`
                    .-.-.
                   (     )
                 .-.\ : /.-.
                (   .`:`.   )
                 (   /|\   )
            jgs   `"` | `"`
                    .-.-.
                   (     )
                 .-.\ : /.-.
                (   .`:`.   )
                 (   /|\   )
            jgs   `"` | `"`
             ******************
           **********************
         **************************

lucifer.local>> a.out

This program has a spring theme.
It uses ASCII art to make a column of shamrocks. You may
request a column containing between 1 and 5 shamrocks.

How many shamrocks would you like to see? ===> 6

More than five: bad value.

lucifer.local>> a.out

This program has a spring theme.
It uses ASCII art to make a column of shamrocks. You may
request a column containing between 1 and 5 shamrocks.

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

More than five: bad value.

lucifer.local>> exit
exit

Script done on Thu Mar  5 23:59:57 2015