Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

How can I find and recorrect my errors in pascal coding

+15 votes
asked Mar 12 by Sanuru Sejal Fernando (230 points)

3 Answers

0 votes
answered Mar 21 by Bidur Aryal (150 points)
by typing the good information of pascal coding
+1 vote
answered Mar 22 by Peter Minarik (101,340 points)
You have to look at the compiler output. It tells you where the compilation error happened. The message should also help you better understand what's wrong.

If your code compiles, but does not run correctly (it has a bug), then you can log (print messages) that indicate what the program is doing, so you can better understand how your code gets derailed.

You can also debug your Pascal program with the right tool: https://www.google.com/search?q=how+to+debug+a+Pascal+program

You can also share your code here, so people can look into it and help you with identifying the issues.

Good luck!
0 votes
answered Mar 24 by MOTHISHYA (140 points)

You have to look at the compiler output. It tells you where the compilation error happened. The message should also help you better understand what's wrong.

If your code compiles, but does not run correctly (it has a bug), then you can log (print messages) that indicate what the program is doing, so you can better understand how your code gets derailed.

You can also debug your Pascal program with the right tool: https://www.google.com/search?q=how+to+debug+a+Pascal+program

You can also share your code here, so people can look into it and help you with identifying the issues.

Good luck!

Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and receive answers from other members of the community.
...