Project for raheelwaqar3 -- 3
This project was successfully completed by raheelwaqar3 for $15 USD in a day.Get free quotes for a project like this
Project Budget$15 USD
Completed In1 day
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9.
The sum of these multiples is 23.
1) Find the sum of all the multiples of 3 or 5 below 1000 using a for loop. Print the sum.
2) Now find the sum of all the multiples of 3 or 5 using a while loop. Print the sum.
Looking to make some money?
- Set your budget and the timeframe
- Outline your proposal
- Get paid for your work
Hire Freelancers who also bid on this project
Looking for work?
Work on projects like this and make money from home!Sign Up Now
- The New York Times
- Wall Street Journal
- Times Online