Create a free account on Computer Sir Ki Class and unlock access to valuable learning resources.
Exam Paper Downloads: After registering and logging in, you can download exam question papers in PDF format to practice and prepare for your exams.
Student Support: Get assistance with your doubts, queries, and questions related to your studies. Our support is here to help you understand topics and resolve your learning difficulties.
Register today and make your exam preparation easier and more effective!
when / (division) operator is used we get the value of numerator (value before /) divided by denominator (value after /). In case of % (modulus) operator we get the remainder of division operation as done in the previous case.
Notes:
Unlike many other languages like c/c++, java allows % operation for float and double also, but one has to take care regarding the rounding off errors due to precision range.
C. Sir| Created: 28-Mar-2018 | Updated: 15-Apr-2019|ICSE2017