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 In
1 day
Total Bids
Project Description

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.

Completed by:

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

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online