Search:

Type: Posts; User: deadrabbit

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    24,000

    Ahh, I see. Thank you all.

    Ahh, I see. Thank you all.
  2. Replies
    6
    Views
    24,000

    sum of multiples of 3 or 5 below 1,000

    I wrote a program which should compute the sum of all of the multiples of 3 or 5 below 1,000.

    int main()
    {
    int sum = 0;
    int i;


    for (i=0; i < 1000; i++)
    {
Results 1 to 2 of 2