Link to home
Start Free TrialLog in
Avatar of sasi v
sasi v

asked on

flames program in java using string manipulation.

hi, i need to write a flames code in java using string manipulation.
and dont need to give inputs using scanner.i would like to do in a method to use that in anywer in the code.

anyone help me please.
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

What is a flames program? The last flames program that I know of is a cpu test that started a fire in my athalon processor
Avatar of sasi v
sasi v

ASKER

flames means we have to compare the 2 names and get their relationship
f- friends
l- love
a- affection
m-marriage like that goes on
What do you have for code so far? Where do the 2 names exist and what determines their relationship?
Avatar of sasi v

ASKER

in java i have to write the code.
2 names we can save it in a string and save it.
I think we need more details before any meaningful help can be provided. What is the purpose of the code you're trying to write? What are the variables needed and what is their source (e.g. a file, terminal input, etc.)? What do you want to see as output? In other words, give us a complete description of the task.
Is there any logic that needs to be implements when doing the comparison between the two names?
ASKER CERTIFIED SOLUTION
Avatar of manoj kumar
manoj kumar
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
if u waqnt to understand the flame program i am sharing some hints:

Flame is a program that take two string  after getting input of two string it can remove the common charcter in both the String:after it can find the lenght of two string  and based on the lenght it give Some clue:that u are suggested
1= friends
2- love
3- affection
4=marriage like that goes on :etc