English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

2006-08-25 05:39:48 · 4 answers · asked by russwood1 1 in Computers & Internet Programming & Design

4 answers

it helps you keep track of where you are in your program or to segregate different parts of your program. like i'd indent a loop so that it'd be obvious which part of the code is part of the loop and which isn't. it just helps you spot things out.

2006-08-25 05:44:44 · answer #1 · answered by digs 1 · 0 0

When writing a program, the author sometimes whats to include comments or code explaination (pseduocode) for people to read, but not the computer. By indenting the code (or using some other signal like putting it inside a box of astericks) they can make the comments/pseudocode stand out so us poor dumb humans can find it easier

2006-08-25 12:45:00 · answer #2 · answered by dewcoons 7 · 0 0

Pseudocode is a kind of structured english for describing algorithms. It allows the designer to focus on the logic of the algorithm without being distracted by details of language syntax. At the same time, the pseudocode needs to be complete. It describe the entire logic of the algorithm so that implementation becomes a rote mechanical task of translating line by line into source code.

2006-08-25 12:44:56 · answer #3 · answered by Paultech 7 · 0 0

It's easier to figure out what you're trying to do. It shows it more as a step by step process rather than all in one paragraph. It's like an outline that way

2006-08-25 12:43:24 · answer #4 · answered by dnhsguy02 2 · 0 0

fedest.com, questions and answers