i burnt my hand, my laptop down, my new camera fell into a toilet bowl. and now i dont know how to do my programming homework.

look at this question:

Write an algorithm that computes all prime numbers smaller than or equal to 1000 by the help of the Algorithm of Eratosthenes and writes them into a file named primes smaller than thousand.Eratosthenes was a Greek scientist and poet who lived from 276 BC to 194BC. See http://www.nist.gov/dads/HTML/sieve.html for the algorithm.

so far i learnt the basic use of array, if else statements ; loops functions and more thing with C++.

but i somehow dont know how to do.

looking forward to going home.

 so i am hanging on on my life now.

:(

ford