Describe basic flow of automation with conditional and programatic logic?

Showing Answers 1 - 1 of 1 Answers

RamBhupalReddy

  • Nov 18th, 2005
 

Hai Chaw,

====

I think ur Question is Executing of operators flow in the automation code if the question is that then my answer is

===

For example:

z = 78 * (96 + 3 + 45)

There are five operators in this expression: =, *, (), +, and another +. According to the rules of operator precedence, they are evaluated in the following order: (), +, +, *, =.

  1. Evaluation of the expression within the parentheses occurs first. Within the parentheses, there are two addition operators. Since the addition operators both have the same precedence, they are evaluated from left to right. 96 and 3 are added together first, then 45 is added to this total, resulting in a value of 144.
  2. Multiplication occurs next. 78 is multiplied by 144, resulting in a value of 11232.
  3. Assignment occurs last. 11232 is assigned to z.

========

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions