(Latest Revision: Wed Mar 12 00:09:01 PDT 2014 ) candy script

candy script


Script started on Wed Mar 12 00:06:12 2014
lucifer.local>> a.out

This program has a spring theme.
It uses ASCII art to make a column of candy. You may
request a column containing between 1 and 6 M candies.

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

Negative: bad value.

lucifer.local>> a.out

This program has a spring theme.
It uses ASCII art to make a column of candy. You may
request a column containing between 1 and 6 M candies.

How many Ms 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 candy. You may
request a column containing between 1 and 6 M candies.

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

		      _..._
		    .'_   _'.
		   / (.) (.) \
	      _.-._| ,_____. |_.-._
	     (== |-\	'-'  /-| ==)
	      `"`   '.__M__.'	`"`
		   __//   \\__
	     jgs  (___)   (___)
		 ===============
	      =====================
	   ===========================
	=================================

lucifer.local>> a.out

This program has a spring theme.
It uses ASCII art to make a column of candy. You may
request a column containing between 1 and 6 M candies.

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

		      _..._
		    .'_   _'.
		   / (.) (.) \
	      _.-._| ,_____. |_.-._
	     (== |-\	'-'  /-| ==)
	      `"`   '.__M__.'	`"`
		   __//   \\__
	     jgs  (___)   (___)
		      _..._
		    .'_   _'.
		   / (.) (.) \
	      _.-._| ,_____. |_.-._
	     (== |-\	'-'  /-| ==)
	      `"`   '.__M__.'	`"`
		   __//   \\__
	     jgs  (___)   (___)
		      _..._
		    .'_   _'.
		   / (.) (.) \
	      _.-._| ,_____. |_.-._
	     (== |-\	'-'  /-| ==)
	      `"`   '.__M__.'	`"`
		   __//   \\__
	     jgs  (___)   (___)
		      _..._
		    .'_   _'.
		   / (.) (.) \
	      _.-._| ,_____. |_.-._
	     (== |-\	'-'  /-| ==)
	      `"`   '.__M__.'	`"`
		   __//   \\__
	     jgs  (___)   (___)
		 ===============
	      =====================
	   ===========================
	=================================

lucifer.local>> a.out

This program has a spring theme.
It uses ASCII art to make a column of candy. You may
request a column containing between 1 and 6 M candies.

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

		      _..._
		    .'_   _'.
		   / (.) (.) \
	      _.-._| ,_____. |_.-._
	     (== |-\	'-'  /-| ==)
	      `"`   '.__M__.'	`"`
		   __//   \\__
	     jgs  (___)   (___)
		      _..._
		    .'_   _'.
		   / (.) (.) \
	      _.-._| ,_____. |_.-._
	     (== |-\	'-'  /-| ==)
	      `"`   '.__M__.'	`"`
		   __//   \\__
	     jgs  (___)   (___)
		      _..._
		    .'_   _'.
		   / (.) (.) \
	      _.-._| ,_____. |_.-._
	     (== |-\	'-'  /-| ==)
	      `"`   '.__M__.'	`"`
		   __//   \\__
	     jgs  (___)   (___)
		      _..._
		    .'_   _'.
		   / (.) (.) \
	      _.-._| ,_____. |_.-._
	     (== |-\	'-'  /-| ==)
	      `"`   '.__M__.'	`"`
		   __//   \\__
	     jgs  (___)   (___)
		      _..._
		    .'_   _'.
		   / (.) (.) \
	      _.-._| ,_____. |_.-._
	     (== |-\	'-'  /-| ==)
	      `"`   '.__M__.'	`"`
		   __//   \\__
	     jgs  (___)   (___)
		      _..._
		    .'_   _'.
		   / (.) (.) \
	      _.-._| ,_____. |_.-._
	     (== |-\	'-'  /-| ==)
	      `"`   '.__M__.'	`"`
		   __//   \\__
	     jgs  (___)   (___)
		 ===============
	      =====================
	   ===========================
	=================================

lucifer.local>> a.out

This program has a spring theme.
It uses ASCII art to make a column of candy. You may
request a column containing between 1 and 6 M candies.

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

More than six: bad value.

lucifer.local>> a.out

This program has a spring theme.
It uses ASCII art to make a column of candy. You may
request a column containing between 1 and 6 M candies.

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

More than six: bad value.

lucifer.local>> exit
exit

Script done on Wed Mar 12 00:07:34 2014