TCS
Company
Shreya writes 1st 100 whole num. let A and B be the num of times she writes 0 and 9 respectively,find the value of A+B
Read Solution (Total 16)
-
- first 100 whole nos=0 to 99.
thus A=no.of 0's=(0,10,20,30,40,50,60,70,80,90)=10
B=no. of 9's=(9,19,29,39,49,59,69,79,89,90,91,92,93,94,95,96,97,98,99)=20
A+B=30 - 14 years agoHelpfull: Yes(37) No(4)
- 9 can appear in the units place in 10 ways
9 can appear in the tens place in 10 ways
0 can appear in the units place in 10 ways
Note: first 100 whole numbers does not include 100 (0-99)
thus A+B= 30 - 14 years agoHelpfull: Yes(10) No(3)
- 0 is also a whole no. so 1st 100 whole no.= 0-99.
then 0 comes 10 times.
9 comes 20 times.
so A+B=30. - 14 years agoHelpfull: Yes(8) No(1)
- bet. 1to 100
no.of 0's=11
no.of 9's=20
sum=11+20=31 - 14 years agoHelpfull: Yes(5) No(10)
- ist whole no means from 0 to 100 so
no. of zeros is 12
no of 9 is 20
so A+B=32 - 14 years agoHelpfull: Yes(5) No(13)
- total no of 0=11 which is{10,20,30,40,50,60,70,80,90,"but 2 in" 100}
total no of 9=20 which is{9,19,29,39,49,59,69,79,89,90,91,92,93,94,95,96,97,98,99}
hence A+B=20+11=31 - 14 years agoHelpfull: Yes(4) No(15)
- first 100 whole no. will include no. from 0 to 99
and no. of zero means A is 10(0 to 9 , 10 t0 19 .....90 t0 99)
and no. of 9 is 19 means B is 19 ,so A+B = 10 + 19 = 29 - 14 years agoHelpfull: Yes(3) No(13)
- no of "0"=11=A
no. of "9"=20=B
A+B=31 - 14 years agoHelpfull: Yes(3) No(10)
- A=11
B=20
A+B=31 - 14 years agoHelpfull: Yes(3) No(8)
- total no 0's=11
total no of 9's=11
sum=22. - 14 years agoHelpfull: Yes(2) No(18)
- count the no . of zeros first from 1 to 100= 11 (10,20,30,.....100)
then count the no. of 9 = 21(9,19,......90,91......,99)
add =a+b.....11+21=32 ans - 14 years agoHelpfull: Yes(2) No(12)
- first 100 no.s wud be 0 to 99 coz 0 is a whole number.
so, no. of 0's = 10
no. of 1's = 20
so, 10 + 20 = 30. - 14 years agoHelpfull: Yes(2) No(0)
- 21
- 14 years agoHelpfull: Yes(0) No(9)
- A=10
B=10
A+B=20 - 14 years agoHelpfull: Yes(0) No(9)
- 21 coz 10 times 0 occurs in the series.. 11 times 9 (twice taken in case of 99) occurs
- 14 years agoHelpfull: Yes(0) No(9)
- 12(for 0's)+10(for 9's)=22
- 14 years agoHelpfull: Yes(0) No(9)
TCS Other Question