TCS
Company
int 3.4=3
int 4.2=4
then wat the value of
int (1/2) + int ( 1/2 + 1/100) + int ( 1/2 + 2/100) . . . . + int ( 1/2 + 99/100)
justify the ans. .!
Read Solution (Total 3)
-
- 50.....upto (1/2+49/100) it is 0....then up to the last term every term is equal to 1....
- 12 years agoHelpfull: Yes(34) No(0)
- int(1/2)=int(0.5)=0
so upto 50 terms it is 0 i.e int (0.5+0.49)=int(.99)=0
from 50th term it will b like this int(0.5+0.51)=int(1.01)=1
from 50th term to 99th term it is 1+1+1+........=50
- 12 years agoHelpfull: Yes(19) No(0)
- upto (1/2+49/100)it is 0
after (1/2+50/100)=1
after all gets 50+1=51 - 12 years agoHelpfull: Yes(0) No(1)
TCS Other Question