Official Site

click here to view our new site launched

Pages

Thursday, April 29, 2010

Algorithm Challenge-FLAMES


We all have played a game called FLAMES during our childhood. In this we take input as two names, eliminate the similar alphabets in both the words and count the remaining number of alphabets and calculate the corresponding relationship according to
FLAMES(Friend, Love, Affection, Marriage, Enemy or Sister)

Input:
Input description... Name of you and your partner

Output:
Output description... Count the number of remaining dissimilar alphabets and according to flame find the corresponding relationship F- Friend L- Love A-Affection M- Marriage E - Enemy S- Sister


1 comment:

  1. do i need to post the source code here..??

    ReplyDelete

$2.49 .COM at GoDaddy.com! Expires 5/14/13