Tuesday, January 13, 2015

Saturday's PHP World Submissions: Prime Number Generator

visual basic, vb, active server pages (ASP),java, javscript,c, c++, c__ , vbscript,active server pages, ASP, vbscript,SQL, database, informix, oracle, SQL Server,Perl, CGI,Delphi, PHP,source code, code, sample, samples, program, programs, help, tutorial,tutorials, routine, routines, jobs, listserve, mailinglist, bulletin board, bulletin boards, programming,  snippet, snippets, control, controls, class, classes, module, script, Scripts, applet , email , mp3, reference, windows,  modules, file, files, subroutine, subroutines, function, functions, sub, Microsoft, Sun,  downloads, winapi, directx, msaccess, ocx, vbx, ado, dao, odbc, rdo,  vbscript, vba, game programming, dcom, ole, com, dna, jet, dll, win api, winapi,  dbgrid, database front end, certify, decompiling, decompiler, visual basic for applications,  va  riable, constants, data type, byte, boolean, integer, long, single,  double, currency, date, object, string, variant, sub, function, free, 01/10/2015

Learn a little more about PHP World each day, with www.Planet-Source-Code.com's Code of the Day!

Current # of subscribers: 5,992


Make 9 cents to $300 per game playing Dollar Candy. The better you get, the more you make. Click for more info.

=================================================================
Would you like access to thousands of lines of source code instantly from your desktop? Then check out the Planet Source Code CD...hundreds of amazing programs at your fingertips with no online wait!
Click Here!

  



Code of the Day: (
What is the code of the day?
)
1) Prime Number Generator

Submissions Since Yesterday:

NONE
 





1)Prime Number Generator


Category: Math
Level: Beginner

Description: As a programmer I always learns how to apply my previous knowledge in other programming language before I wrote a program that will generate prime numbers in C and C++ programming language. The program works perfectly in my programming class. Recently I am more involved in wed design and development my main primarily language of choice in PHP so I have decide why not rewrote my code from C/C++ into its PHP equivalent here is it a prime number generator written in PHP. As we know a prime number is a number that is divisible by one and only itself example of prime numbers are 2,3,5.7,11,13 and 17 etc. In this sample program I make a form which the user can enter a number and then their are two buttons the first one will check if the number is a prime number or not and the other button will clear the text box and the results in our webpage. I also incorporate autofocus as a function in my program this function is available in HTML 5 to make the cursor focus in our text field. My program will also display the list of numbers that are not prime in terms of their values. I hope you will find my work useful and beneficial if you have some questions please send me an email at jakerpomperada@yahoo.com and jakerpomperada@gmail.com. People here in the Philippines who wish to contact me can reach me at my mobile number 09173084360. Thank you very much and Happy Programming.

Compatibility: PHP 3.0
Submitted on 1/8/2015 4:06:11 AM and accessed 27 times.

     Back to Top




 

No comments:

Post a Comment