pritaeas
Posting Prodigy
9,533 posts since Jul 2006
Reputation Points: 1,194
Solved Threads: 1,494
Skill Endorsements: 98
Nobody here is going to write code for you. But if you have a specific question, we'll help you.
pritaeas
Posting Prodigy
9,533 posts since Jul 2006
Reputation Points: 1,194
Solved Threads: 1,494
Skill Endorsements: 98
Start learning basic syntax, more specific for, readln, writeln and arrays.
pritaeas
Posting Prodigy
9,533 posts since Jul 2006
Reputation Points: 1,194
Solved Threads: 1,494
Skill Endorsements: 98
For all I know, leave IT and start a candy shop! In the other case, do your homework and ask a question if you get stuck with it. We will be ever so happy to give you any help :o)
ddanbe
Industrious Poster
4,375 posts since Oct 2008
Reputation Points: 2,126
Solved Threads: 738
Skill Endorsements: 26
Let's start from, what do you know how to do already? Can you write something very simple, such as a program that prints a line of text (say, 'Hello, World!', to give one well-worn example)?
Getting to the assignment at hand, do you know how to write a for loop? Can you declare a simple variable? What about an array variable? Do you know how to write a simple procedure, and how to pass an argument to it?
Schol-R-LEA
Veteran Poster
1,089 posts since Oct 2010
Reputation Points: 495
Solved Threads: 173
Skill Endorsements: 13
Then start writing, and if you get stuck, show what you have and what your question is.
pritaeas
Posting Prodigy
9,533 posts since Jul 2006
Reputation Points: 1,194
Solved Threads: 1,494
Skill Endorsements: 98