Why the output is 40 instead of 50. Please explain | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

Why the output is 40 instead of 50. Please explain

https://code.sololearn.com/WttUthZbxOrr/?ref=app

6th Aug 2020, 1:14 PM
Avinash
2 Respuestas
+ 1
Remember % is return remainder (10+40=50)-(2*5=10)+(60%6=0)
6th Aug 2020, 1:20 PM
Vadivelan
+ 1
Vadi velan thanks for the explanation
6th Aug 2020, 1:22 PM
Avinash