0

Why n%s=0 is not working in this go program?

I wrote this go program as a solutiin to a code coach question. When I am typing n%s=0 in the if statement is giving an error. But when I am writing it as n%s<1 then it is accepting it https://code.sololearn.com/c40RQzOj7DY0/?ref=app Please help me understand

28th Jul 2021, 8:36 PM
Pratyush Anshuman
Pratyush Anshuman - avatar
1 Réponse
0
Right thanks
29th Jul 2021, 3:47 AM
Pratyush Anshuman
Pratyush Anshuman - avatar