Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
How do I?? Please Read this!!!!
I think I have pretty much finished my source code for my second assignment. It is a menu driven program. I need a little help with one thing.
In module #2
the user is to type in a number.
If the user does not type in a number the program stops.
I need to constuct a invalid portion and I am not sure what I am doing wrong .
This is what I am typing in
n, trialdiv : integer;
prime : boolean;
write ('enter a number:');
If (n < integer) THEN
writeln('You have not selected a number');
writeln('Please try again');
this comes out as expected "(" at the THEN
Please if anyone can look this this over it would be great as it is due this afternoon.
Thank you very much
0 · ·