Relational Operators Etter, Engineering Problem Solving with C, Third Edition, © 2005 Pearson Education, Inc. All rights reserved. 0-13-142971-X
Logical Operators Etter, Engineering Problem Solving with C, Third Edition, © 2005 Pearson Education, Inc. All rights reserved. 0-13-142971-X
Precedence for Arithmetic, Relational, and Logical Operators Etter, Engineering Problem Solving with C, Third Edition, © 2005 Pearson Education, Inc. All rights reserved. 0-13-142971-X
if (condition) statement 1; Simple if Statement if (condition) statement 1; Etter, Engineering Problem Solving with C, Third Edition, © 2005 Pearson Education, Inc. All rights reserved. 0-13-142971-X
if Statement with Compound Statement if (condition) { statement 1; statement 2; statement 3; } Etter, Engineering Problem Solving with C, Third Edition, © 2005 Pearson Education, Inc. All rights reserved. 0-13-142971-X
Flowcharts for Selection Statements Etter, Engineering Problem Solving with C, Third Edition, © 2005 Pearson Education, Inc. All rights reserved. 0-13-142971-X
if (condition) statement 1; else statement 2; if/else Statement if (condition) statement 1; else statement 2; Etter, Engineering Problem Solving with C, Third Edition, © 2005 Pearson Education, Inc. All rights reserved. 0-13-142971-X
Flowchart for if/else Statement Etter, Engineering Problem Solving with C, Third Edition, © 2005 Pearson Education, Inc. All rights reserved. 0-13-142971-X
Conditional Operator if (condition) statement1; else statement2; condition ? statement1 : statement2; Etter, Engineering Problem Solving with C, Third Edition, © 2005 Pearson Education, Inc. All rights reserved. 0-13-142971-X
Nested if/else Statements if (code == 10) printf(“Too Hot\n”); else { if (code == 11) printf(“Caution\n”); if (code == 13) printf(“Turn on fan\n”); printf(“Normal Operation\n”); } Etter, Engineering Problem Solving with C, Third Edition, © 2005 Pearson Education, Inc. All rights reserved. 0-13-142971-X
switch Statement switch (code) { case 10: printf(“Too Hot\n”); break; printf(“Caution\n”); case 13: printf(“Turn on fan\n”); default: printf(“Normal Operation\n”); } Etter, Engineering Problem Solving with C, Third Edition, © 2005 Pearson Education, Inc. All rights reserved. 0-13-142971-X
switch Statement switch (controlling expression) { case label_1: . . . default: } Etter, Engineering Problem Solving with C, Third Edition, © 2005 Pearson Education, Inc. All rights reserved. 0-13-142971-X
Program to Print a Table Using a while Loop Etter, Engineering Problem Solving with C, Third Edition, © 2005 Pearson Education, Inc. All rights reserved. 0-13-142971-X
Program to Print a Table Using a do-while Loop Etter, Engineering Problem Solving with C, Third Edition, © 2005 Pearson Education, Inc. All rights reserved. 0-13-142971-X
Program to Print a Table Using a for Loop Etter, Engineering Problem Solving with C, Third Edition, © 2005 Pearson Education, Inc. All rights reserved. 0-13-142971-X
Sea State Number Etter, Engineering Problem Solving with C, Third Edition, © 2005 Pearson Education, Inc. All rights reserved. 0-13-142971-X
Plot of a Sine Function Etter, Engineering Problem Solving with C, Third Edition, © 2005 Pearson Education, Inc. All rights reserved. 0-13-142971-X
Plot of Three Sinusoids Etter, Engineering Problem Solving with C, Third Edition, © 2005 Pearson Education, Inc. All rights reserved. 0-13-142971-X
Plot of Sums of Pairs of Sinusoids Etter, Engineering Problem Solving with C, Third Edition, © 2005 Pearson Education, Inc. All rights reserved. 0-13-142971-X
Plot of Combined Waves Etter, Engineering Problem Solving with C, Third Edition, © 2005 Pearson Education, Inc. All rights reserved. 0-13-142971-X
A Linear Estimate to Model a Set of Points Etter, Engineering Problem Solving with C, Third Edition, © 2005 Pearson Education, Inc. All rights reserved. 0-13-142971-X
Distances Between Points and the Linear Estimate Etter, Engineering Problem Solving with C, Third Edition, © 2005 Pearson Education, Inc. All rights reserved. 0-13-142971-X
Equation for Least-Squares Slope Etter, Engineering Problem Solving with C, Third Edition, © 2005 Pearson Education, Inc. All rights reserved. 0-13-142971-X
Equation for Least-Squares y-intercept Etter, Engineering Problem Solving with C, Third Edition, © 2005 Pearson Education, Inc. All rights reserved. 0-13-142971-X
Atmospheric Layers Around the Earth Etter, Engineering Problem Solving with C, Third Edition, © 2005 Pearson Education, Inc. All rights reserved. 0-13-142971-X
Velocity and Altitude Data for a Weather Balloon Etter, Engineering Problem Solving with C, Third Edition, © 2005 Pearson Education, Inc. All rights reserved. 0-13-142971-X