primality testing!
i submit to you, oh blog of olde, this code i have thus written.
calculate it will, the heavenly steps of prime
and lay for you, a journey enchanted upon which clouds lay,
dare you follow, and wipe clear the fabric of which things forged.
To keep that console from disappearing you could use a command like this before the return:
system(”pause”);
You really spent 10 hours on this?
ah ok cheers, that comment shouldn’t be there, as I fixed it. Just needed to keep the loop running, as without an IDE the console display loop doesn’t automatically continue.
10 hours includes the whole assignment… this was just half of it……