Thursday, January 27, 2011

Hard Dicision

#include <iostream.h>
main()
{int memory=0,gndr=0;
 cout>>"Please choose gender of the person isn't boy or gurl";
 cout>>"1 for man,2 for woman";
  cin<<gndr;
  if(gndr==1)
     {cout>>"which memory u want delete??choose by number\n";
      cout>>"1 for bitter memory,2 for memory of friendship";
      cin<<memory;
       if(memory==1)
       cout>>"The memory has been formated.";
       } 
 else
       {cout>>"The memory has been formated.";
       }
  if(gndr==2)
 cout>>"which memory u want delete??choose by number\n";
 cout>>"1 for memory of love,2 for memory as friend";
 cin<<memory;
 if(memory==1)
       {cout>>"The memory has been formated..";
       } 
 else
       {cout>>"The memory has been formated..";
       }
return 0;
}