could someone help me w/ my java project(FLAMES CANDLE)?
sample input:
Enter Boy name:
Enter Girl name:
Sample Output:
Mark Lopez - 5 - Sweetheart
Angel Cruz - 5 - Enemy
total:10 - enemy
============================================================
here's: what to do:
the program will count the common letters
ex.
Mark Lopez - 5
Angel Cruz - 5
then count 5 letters from FLAMES(for boys) that is 5 = S(Sweetheart)
CANDLE(for girl) 5 = E(Enemy)
get the total = 10 then count 10 letters from FLAMES CANDLE which is = E(Enemy)
F = flames
L = love
A = accept
M = Married
E = Enemy
S = Sweetheart
C = Crush
A = Accept
N = Never
D = Darling
L = Love
E = Enemy
*our teacher mention that we can use switch statement here
simple code for a 1st yr student(else-if,switch,do-while,do,for loop,loops) tnx :P
we use net beans
Edited by derds19, 02 February 2012 - 09:14 PM.
forgot to mention


Sign In
Create Account

Back to top









