Question #145298

Use an example to briefly explain the features of a structured program.

Expert's answer

Structured programming approach is a programming, in which the program is made as a single structure. In this program will execute line by line. It does not support jumping from one instruction to another such as goto statement. Therefore the instruction will be executed in serial and structured manner.

Given below examples of structured programming approach-

c

C++

Java

It consists of three types of elements:

  • Selection Statements
  • Sequence Statements
  • Iteration Statements
LATEST TUTORIALS
APPROVED BY CLIENTS