var a=20,b=10; document.write( (a%b)); What 'll the output of this statement :
1 point
2
1
10
0
Answers
Answered by
0
answer is 0
hope it helped
Answered by
0
Given : var a=20,b=10
To Find : a%b
Explanation:
% is Modulus Operator returns the remainder after an integer division
a=20
b=10
20 = 10 x 2 + 0
Hence remainder = 0
so a%b will return 0 as output as remainder = 0
some other operators :
+ Adds operands
- Subtracts second operand from the first
* Multiplies both operands
/ Divides numerator by denominator
Learn More:
Write a a algorithm for a program that adds two digits numbers ...
https://brainly.in/question/14599411
Similar questions