SOURCE FILE: 080_cat-bird-moocow-Form2.cpp


#include <iostream>
using namespace std ;

int main (void)
{

   char response ;

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

   cin >> response ;

   if (response == 'b')
   {
      cout << "              ___\n" ;
      cout << "             (  \">\n" ;
      cout << "              )(\n" ;
      cout << "             // )\n" ;
      cout << "      jgs --//\"\"--\n" ;      
      cout << "          -/------      \n" ;

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

   else if (response == 'm')
   {
      cout << "   (___)\n" ;
      cout << "   (o o)_____/\n" ;
      cout << "    @@ `     \\         moooo!\n" ;
      cout << "     \\ ____, /\n" ;
      cout << "     //    //  jgs\n" ;
      cout << "    ^^    ^^   \n" ;
   }
   
   else cout << "I don't understand.\n" ;

   cout << endl ;

   /* 
      What if the user doesn't type a 'b', 'c' or 'm' - then what does this
      program do?
   */

   return 0;
}