Question: C Program Create a program to input names of two persons (preferably of different genders) and output their resulting relationship based on the FLAMES method.
C Program
Create a program to input names of two persons (preferably of different genders) and output their resulting relationship based on the FLAMES method.
F - Friends
L - Lovers
A - Adversaries
M - Married
E - Enemies
S - Sweethearts
The flames method:
1. Compare the two input names and count the letters in the first input name that matches in the second name and vice versa.
2. Determine the corresponding letter of the resulting number in the word FLAMES.
3. Add the resulting number from both names and follow step 2.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
