Jump to content

help for my project deadline nxt week

- - - - -

  • Please log in to reply
1 reply to this topic

#1
derds19

derds19

    Newbie

  • Members
  • Pip
  • 1 posts
hello guys!
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


#2
Norm

Norm

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 327 posts
Can you explain what problems you are having?
Post specific questions and the code that you are having problems with.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users