How to write Algorithm/Design

Please guide me :)
This is like asking "How do I cook a meal?"

What meal do you want to cook? What algorithm do you want to write or what design to you want to make? You need to be specific.
What I meant is what do I have to include inside the algorithm/design.
To extend L B's analogy, an algorithim is simply a receipe.

Put simply, what are the steps you need to follow to produce the desired result.
What are the inputs (ingredients)?
What are the steps?
What is the output?

Do you have any examples?
Is it pseudocode?
closed account (N36fSL3A)
No. It's just a way to do something. Kinda like a formula in math.
closed account (9wqjE3v7)
Is it pseudocode?


It is common for algorithms to be expressed in pseudo-code, since most algorithms are language-independent.
Oh. Okay. Thanks a lot :)
Topic archived. No new replies allowed.