Hi Friends ,
From today onwards I will be solving problems based on the Project Euler.
Find the sum of all the multiples of 3 or 5 .
First line contains T that denotes the number of test cases. This is followed by T lines, each containing an integer, N
For each test case, print an integer that denotes the sum of all the multiples of 3 or 5 below N .
So here is the code of the first problem :
Feel free to comment.