However you want!
Pseudo code is not a well defined programming language. The idea is to write something that looks like code, but doesn't necessarily have to run in any specific language.
For example, you could write:
for all values in some_array:
if value is empty:
fill value
without defining at this point what exactly it means for a value to be empty, or how to fill a value.
Pseudocode is a combination of notes and pieces of actual code. You can think of it as an outline of the logic for your final code. An example of pseudocode for an if statement would be:
if (x==y)
{
do something;
}
else
{
check if x is correct;
}
1. Statements should be written in simple english and should be programming language independent.Rememberthat pseudocodes only describe the logic plan to develop a program, it is not programming.
2. Pseudocodes should be concise.
3. Capitalise keywords such as READ,PRINT & so on.
It's up to you. Remember, pseudo-code means free text, it doesn't have rules.
Start Input x, y ; If (x
X**y
Pseudo code+factorial
count := 27
write pseudocode for link list
Yes
Start Input x, y ; If (x
X**y
Pseudo code+factorial
count := 27
write pseudocode for link list
Any of these: PRINT semicolon EMIT ; WRITE ";" etc.
how to write the pseudo code for : (5/9)(f-32)
to find area and perimeter of a rectangle
floating-point variable cost
set totalfee = subtotal * 0.15
101