Computer Science, asked by Dimple0201, 1 year ago

Student will execute the following practicing program. Consider a goods train with 70 bogies. It starts from station X to station Y via 58 stations. In its travel, in every i th station where ‘i’ is prime, it drops out 2 bogies and proceeds. Find with how many bogies, it will reach station Y. (prime calculation).

Answers

Answered by Anonymous
4

Answer:

It's too simple dear.... Well in which class you are....?

So without typing solution just I am giving your answer.... Wait a second... Following prime stations - 2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,......

So total 16 primes....

32 bogies are left out....

58-32=26 is your answer

Similar questions