We're a community of 1.1M IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,080,586 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

Help me write a pascal program

I need help to Write a PASCAL program that reads in ten values and then sort them using the bubble sort method

4
Contributors
9
Replies
1 Day
Discussion Span
4 Months Ago
Last Updated
14
Views
jameosa
Newbie Poster
4 posts since Jan 2013
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0

What do you have so far?

pritaeas
Posting Prodigy
Moderator
9,533 posts since Jul 2006
Reputation Points: 1,194
Solved Threads: 1,494
Skill Endorsements: 98

dont have anything yet. Thanks

jameosa
Newbie Poster
4 posts since Jan 2013
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0

Nobody here is going to write code for you. But if you have a specific question, we'll help you.

pritaeas
Posting Prodigy
Moderator
9,533 posts since Jul 2006
Reputation Points: 1,194
Solved Threads: 1,494
Skill Endorsements: 98

I am a new student in computer science and I know no jack yet, I just wanted help from anyone who could. Thanks

jameosa
Newbie Poster
4 posts since Jan 2013
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0

Start learning basic syntax, more specific for, readln, writeln and arrays.

pritaeas
Posting Prodigy
Moderator
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

yes, I can write a simple program

Thanks

jameosa
Newbie Poster
4 posts since Jan 2013
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0

Then start writing, and if you get stuck, show what you have and what your question is.

pritaeas
Posting Prodigy
Moderator
9,533 posts since Jul 2006
Reputation Points: 1,194
Solved Threads: 1,494
Skill Endorsements: 98

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page generated in 0.0882 seconds using 2.65MB