O'Reilly logo

C Programming for Scientists and Engineers with Applications by Reddy

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER

4

Control Structures

4.1 Relational and Logical Operations

4.2 Selection Structures

4.3 Repetition Structures

4.4 Stacking and Nesting of Control Structures

4.5 Sample Problems and Programs

Chapter Summary

Exercises

Objectives

To understand the logic sequence in which the program statements are executed. To learn to use the sequence, selection, and repetition structures.

The concept of structured programming was developed in the 1960s to eliminate the use of types of statements that made it difficult to follow the flow of control in a program. The sequence in which the statements in a program are executed should always be from the top to the bottom of a program structure. In structured programming languages, such as C, there are language ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required