Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Prime checker program!

Author
Message
Whisper Wind
21
Years of Service
User Offline
Joined: 5th Apr 2003
Location:
Posted: 9th Apr 2003 09:00 Edited at: 9th Apr 2003 09:02
Ok, this is a simple program where you enter a number and it checks to see if it is prime. If it isn't, it also lists all of the factors. Here it is:




It freezes, though, whenever you try to press escape. I can't figure out why. Can anyone help me?
Shadow
22
Years of Service
User Offline
Joined: 17th Oct 2002
Location: In the shadows
Posted: 9th Apr 2003 12:58
I've got a prime program. I'll post the code if I don't forget.

Login to post a reply

Server time is: 2024-11-24 09:31:04
Your offset time is: 2024-11-24 09:31:04