If a=60, b=35 , c=100 the output of (a+b+c)%25 will be-
a) 20
b) 25
c) 24
d) 7
Answers
Answered by
5
Answer:-
Given,
a=60, b=35, c=100
Therefore,
a+b+c=195
195%25=20(25*7=175 and remainder=195-175=20)
Hence, option a is the answer for the question.
Answered by
1
a) 20
Steps
a=60
b=35
c=100
the output of (a+b+c)%25
a+b+c = 60+35+100 = 195
So,
195%25 gives the remainder output
Hence,
195%25 = 20
25*7 = 175 so, this will be quotient
25*8 = 200
And remainder is 195-175=20
Similar questions