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.

20th Jan 2020, 3:25 AM
Mark Emad
Mark Emad - avatar
5 Réponses
+ 4
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") ;
20th Jan 2020, 4:09 AM
Jobelle
Jobelle - avatar
+ 6
this if-else below is outside the else clause if( count1>=2 && count2>=2) System.out.println("Strong") ; else System.out.println("Weak") ;
20th Jan 2020, 3:46 AM
Jobelle
Jobelle - avatar
+ 2
Thanks a lot ... you're the best Jobelle
20th Jan 2020, 4:19 AM
Mark Emad
Mark Emad - avatar
0
https://code.sololearn.com/cjF8Ks3uocwU/?ref=app My code missed only 1 check and I have no idea why ... please help :)
20th Jan 2020, 3:29 AM
Mark Emad
Mark Emad - avatar
0
No it isn't Jobelle the code runs smoothly for all cases except one .... they are about 15 cases :)
20th Jan 2020, 3:52 AM
Mark Emad
Mark Emad - avatar