+ 1
https://code.sololearn.com/cLiHFM0rneTQ/?ref=app
There's some problem in my code ; compiler is unable to excute "else" function instructions please check any one and explain the problem.... https://code.sololearn.com/cLiHFM0rneTQ/?ref=app
8 ответов
+ 2
I don't know whats going on with that logic cause it just uses letters for variables, but you take input just fine and now you don't get a warning.
Write out how you find a divisible number step by step on paper and then translate it to code.
+ 2
Please post the code
EDIT: Manoj kumar Vaduka either put braces in the else statement or unindent the return line
0
Slick
but that's not working 😑
0
I just did it, i dont see your code updated
0
Pls once check now
0
Works fine, whats your input? Mine is:
3 6
Works fine every time
0
4 and 3 is my input
0
Ok thank you