RSS Forums RSS
Please support our Pascal and Delphi advertiser: Programming Forums

!!! Help ME !!!!!

Join Date: Dec 2006
Location: Romania
Posts: 171
Reputation: radu84 is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 16
radu84 radu84 is offline Offline
Junior Poster

Re: !!! Help ME !!!!!

  #8  
Mar 28th, 2007
SysUtils;

{$APPTYPE CONSOLE}
// the start of the function
Function Prime














// the begging of thine main program

var
num : integer;



begin
writeln(' Enter a number from 1 to 1000 and push enter ');
readln(num);




end.

this is the entire code i have found in your file! what i think? well, you made an console application which is showing a text on screen, and read an integer from keyboard.

in that file it is explained very well which is the mecanism of finding a prime number! you don't know how to implement the procedure/function or what?

best regards,
Reply With Quote  
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 9:10 am.
Newsletter Archive - Sitemap - Privacy Statement - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC