O'Reilly logo

Computing with C# and the .NET Framework, 2nd Edition by Gittleman

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

3Software Engineering with Control Structures

3.1 Relational Operators and Expressions

3.2 if and if-else Statements

3.3 The Type double

3.4 Program Design with the while Loop

3.5 Debugging

Our C# programs so far have been simple. All we have learned to do is execute one statement after another in order. We have not had any choices. If we lived ‘life like that, we would get up every day, get dressed, and have breakfast no matter how we felt. In reality, we make decisions among alternatives. If we are very sick we might stay in bed and not get dressed. (If we are very lucky, someone might bring us breakfast in bed.) We might not be hungry one morning, so we would get up, get dressed, but skip breakfast. Here is a description of our morning, ...

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