Aptitude Question:
Download Questions PDF

How many 9 digit no.s are divisible by 7
a.1256
b.1986
c.1524
d.1874

Answer:

Try this excel macro

Sub test()
k = 0
For i = 100000000 To 999999999

If (i Mod 7 = 0) Then
k = k + 1
End If
Next
Cells(1, 1) = k

End Sub

Ans:
128571428

Download Aptitude Interview Questions And Answers PDF

Previous QuestionNext Question
Ram is 27 year old then Mohan. After 7 years Rams age is thrice as Mohans age. Find Rams age?In 80 coins one coin is counterfeit what is minimum number of weighing to find out counterfeit coin?