My First Geeky Post
Earlier this afternoon, while sitting in one of those lecture rooms with my mind not really on the lecture for some reasons, I thought of doing a post about a very simple Prime Number Generator program, which was originally made by me, including the algorithm used. Visual Basic was my program of choice. Because I was bored in one of the lectures that I was attending, I formulated my own algorithm, just to keep my eyes wide open. Because, I don't understand or refuse to understand the complex way of determining a prime number (like the Sieve of Eratosthenes and Bit Array Improvement), I used the definition of a prime number as my basis for my algorithm. A prime number is a natural number which has exactly two distinct natural number divisors -- one and itself. From there, I hit it. I thought of having just one input and this is the number of prime numbers ( H ) that you would want to display. Pressing the pushbutton would show the H prime numbers in a textbox. Wha...

it made me miss my friends back home! ang saya-saya...have followed both of your blogs...:)
ReplyDeleteHi Dhemz! Aww, you can go back to the Philippines if you can. Masaya nga dito. Those are my new found buds, we get along well in one sport, Frisbee. They're also my officemates, too.
ReplyDeleteThanks for following my blogs! :} Followed yours as well. You have a lovely daughter. Cute niya at ng mga outfit nya.