0

Codecoach/challenges issues

this Q&A discussion only for issues faced in codecoach or challenges on sololearn ... please ask your qs in the Answers section .thank you.

1/20/2020 3:25:05 AM

Mark Emad

5 Answers

New Answer

+5

Yes, I. Understand. I modified your code, and passed all test cases by putting the code below inside the else clause if( count1>=2 && count2>=2) System.out.println("Strong") ; else System.out.println("Weak") ;

+6

this if-else below is outside the else clause if( count1>=2 && count2>=2) System.out.println("Strong") ; else System.out.println("Weak") ;

+2

Thanks a lot ... you're the best Jobelle

0

https://code.sololearn.com/cjF8Ks3uocwU/?ref=app My code missed only 1 check and I have no idea why ... please help :)

0

No it isn't Jobelle the code runs smoothly for all cases except one .... they are about 15 cases :)