Write the pseudocode
0.00 (0 votes)

30-01-2020 23:29:06


Solution #1

0.00 (0 votes)

Writing pseudocode is pretty easy actually:

  • Start with the algorithm you are using, and phrase it using words that are easily transcribed into computer instructions.
  • Indent when you are enclosing instructions within a loop or a conditional clause. A loop is a set of instructions that is repeated. A conditional clause is formed by a comparison and what to do if that comparison succeeds or fails. This technique makes sure it's easy to read.
  • Avoid words associated with a certain kind of computer language.

It turns out that there are some fairly standard words you can use. These include standard looping structures like the following:


There are also some terms for standard conditional clauses:

  • IF … ENDIF
  • WHILE … ENDWHILE (this is both a loop and a conditional clause by the way)

There are more, but that's enough for us to present some examples.

source: https://study.com/academy/lesson/writing-pseudocode-algorithms-examples.html


Pallav Kumar
23-04-2020 04:56:26

Solution #2

0.00 (0 votes)

Pseudocode is the expression of an algorithm in plain English (or French or German or Swedish or what have you) describing the logical steps in sequence and including any conditional execution or iterative execution. It reflects your understanding of the algorithm. There is nothing to learn (unless you are illiterate and have no knowledge of any natural language). found this article on Internet, here author describes the best way about the Pseudocode.

Gulshan Negi
07-06-2021 18:43:20