what is the output for this plz answer me fast i will mark as brilliant
Attachments:
Answers
Answered by
0
Answer:
14
Explanation:
% operator returns the remainder when first operand is divided by the second.
In this case, n%10 returns 2 as 2 is the remainder when 12 is divided by 10.
=> r = 2
s = r + n
=> s = 12+2 = 14 by substituting values of r and n
The output is 14.
Similar questions
Math,
1 month ago
Business Studies,
1 month ago
Accountancy,
1 month ago
Hindi,
3 months ago
Hindi,
10 months ago
History,
10 months ago
Math,
10 months ago