SOURCE FILE: 060_catORbird_02.cpp


#include <iostream>
using namespace std ;

int main (void)
{

   char response ;

   cout << "\nI can draw a cat or a bird for you.\n" ;
   cout << "Which would you like to see?\n\n" ;
   cout << "Enter 'c' for cat or 'b' for bird: " ;

   cin >> response ;

   if (response == 'b')
   {

      cout << "              ___\n" ;
      cout << "             (  \">\n" ;
      cout << "              )(\n" ;
      cout << "             // )\n" ;
      cout << "      jgs --//\"\"--\n" ;      
      cout << "          -/------      \n" ;

   }
   else 
   {
      cout << "         /\\_/\\\n" ;
      cout << "    ____/ o o \\\n" ;
      cout << "  /~____  =*= /\n" ;
      cout << " (______)__m_m)\n" ;
   }

   cout << endl ;

   /* What if the user doesn't type a 'c' or a 'b' - then what does this
      program do?  What would we like the program to do in that case?
   */

   return 0;
}