Click here to Skip to main content
15,888,031 members
Home / Discussions / Java
   

Java

 
Questionthe problem about when tomcat was installed as a NT service Pin
xiaobai137916-Jul-13 16:51
xiaobai137916-Jul-13 16:51 
AnswerRe: the problem about when tomcat was installed as a NT service Pin
jschell17-Jul-13 8:45
jschell17-Jul-13 8:45 
GeneralRe: the problem about when tomcat was installed as a NT service Pin
xiaobai137918-Jul-13 20:01
xiaobai137918-Jul-13 20:01 
QuestionTrying to understand Puzzle4..Head First Pin
Skytten15-Jul-13 7:00
Skytten15-Jul-13 7:00 
AnswerRe: Trying to understand Puzzle4..Head First Pin
Richard MacCutchan15-Jul-13 22:12
mveRichard MacCutchan15-Jul-13 22:12 
GeneralRe: Trying to understand Puzzle4..Head First Pin
Skytten16-Jul-13 0:02
Skytten16-Jul-13 0:02 
GeneralRe: Trying to understand Puzzle4..Head First Pin
Richard MacCutchan16-Jul-13 0:14
mveRichard MacCutchan16-Jul-13 0:14 
GeneralRe: Trying to understand Puzzle4..Head First Pin
Skytten16-Jul-13 5:12
Skytten16-Jul-13 5:12 
Did you really read the code dude?

The output is 543345 observe that the object obs[x] is an array that means obs[x]= {1,10,100,1000,10000,100000}

obs[5]= 100000>100 true. 100000*5= 500000
obs[4]= 10000 >100 True. 10000*4= 40000
obs[3]= 1000 > 100 true. 1000*3= 3000
obs[2]= 100>100 False. 100*(5-2)= 300
obs[1]= 10>100 False. 10*(5-1)= 40
obs[0]= 1>100 False. 1*5= 5

add them and you will get the 543345.. I understand the logic now how come you still don't and you were trying to help me? Smile | :)
GeneralRe: Trying to understand Puzzle4..Head First Pin
Richard MacCutchan16-Jul-13 5:16
mveRichard MacCutchan16-Jul-13 5:16 
GeneralRe: Trying to understand Puzzle4..Head First Pin
terry.schoof26-Jul-13 8:42
professionalterry.schoof26-Jul-13 8:42 
GeneralRe: Trying to understand Puzzle4..Head First Pin
Richard MacCutchan26-Jul-13 21:57
mveRichard MacCutchan26-Jul-13 21:57 
GeneralRe: Trying to understand Puzzle4..Head First Pin
terry.schoof27-Jul-13 8:05
professionalterry.schoof27-Jul-13 8:05 
QuestionConnection String for clients machine. Pin
chdboy10-Jul-13 17:16
chdboy10-Jul-13 17:16 
AnswerRe: Connection String for clients machine. Pin
AlphaDeltaTheta10-Jul-13 20:02
AlphaDeltaTheta10-Jul-13 20:02 
QuestionRe: Connection String for clients machine. Pin
Richard MacCutchan10-Jul-13 21:10
mveRichard MacCutchan10-Jul-13 21:10 
AnswerRe: Connection String for clients machine. Pin
jschell11-Jul-13 9:00
jschell11-Jul-13 9:00 
GeneralRe: Connection String for clients machine. Pin
chdboy16-Jul-13 19:26
chdboy16-Jul-13 19:26 
QuestionSynchronize JSP Pin
lyngocquy9-Jul-13 23:15
lyngocquy9-Jul-13 23:15 
AnswerRe: Synchronize JSP Pin
Shubhashish_Mandal10-Jul-13 2:14
professionalShubhashish_Mandal10-Jul-13 2:14 
GeneralRe: Synchronize JSP Pin
lyngocquy10-Jul-13 16:24
lyngocquy10-Jul-13 16:24 
GeneralRe: Synchronize JSP Pin
Zoidberg Why Not10-Jul-13 18:04
professionalZoidberg Why Not10-Jul-13 18:04 
QuestionMessage Closed Pin
9-Jul-13 21:02
realolap9-Jul-13 21:02 
QuestionDeveloping SaaS in Java Pin
Sarmad Hash8-Jul-13 10:19
Sarmad Hash8-Jul-13 10:19 
AnswerRe: Developing SaaS in Java Pin
Richard MacCutchan8-Jul-13 21:25
mveRichard MacCutchan8-Jul-13 21:25 
GeneralRe: Developing SaaS in Java Pin
Sarmad Hash19-Jul-13 9:28
Sarmad Hash19-Jul-13 9:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.