1 / 4

Outline — March 24

Outline — March 24. Numerical Computation in C (continued) More on Numerical Computation Programming Assignment #2 Loop and Conditional Statements. Review. Expression:– A sequence of operands and operators that, when evaluated, produce a result value

gin
Télécharger la présentation

Outline — March 24

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Outline — March 24 • Numerical Computation in C (continued) • More on Numerical Computation • Programming Assignment #2 • Loop and Conditional Statements Outline — March 24

  2. Review • Expression:– A sequence of operands and operators that, when evaluated, produce a result value • Scanned left-to-right by compiler, but operators are applied in order of precedence • Assignment:– The '=' operator in an expression; stores the value on its right side into the location of the left side • Returns stored value as the value of the expression Outline — March 24

  3. Precedence • The specification of the order in which operators of an expression are applied • Example:– pow(x,3) + 3*pow(x,2)*y + 3*x*pow(y,2)+ pow(y,3) Outline — March 24

  4. Outline — March 24 • Numerical Computation in C (continued) • More on Numerical Computation • Programming Assignment #2 • Loop and Conditional Statements Outline — March 24

More Related