+ 6
Slove this error... please
5 Réponses
+ 6
https://code.sololearn.com/cqMwyzqrQA9F/?ref=app
+ 4
program compile but not running
+ 1
There are a lot of mistakes. First you changed the variable name of no_of_sticks f.e. no_of_stick or no_of_strikes. When using else you have no condition or must use if or else if. If needs brackets around the conditions. I tried to correct your mistakes that the code is running but I don't know whether it is logical correct.
+ 1
The community wouldn't write your program. Compare your code and read my comment above and you can solve a lot of errors. When you have done this please specify whats actually the problem with YOUR code.