Ask Question
16 July, 06:23

How do you Evaluate an equation doing dry run? In C + + language whats the order for using the operators like +, -, /, * ? For Example (2-5+10*3/4)

+1
Answers (2)
  1. 16 July, 09:16
    0
    In most program languages, operator precedence is algebraic. Exponents, multiplication/division, addition/subtraction and I believe all the comparison operations are lowest. The search term would be "operator precedence".

    Operators of equal precedence are evaluated left to right.
  2. 16 July, 09:36
    0
    Just as math in, - 3+30/4 the variable u use tells the recision

    for int it would be

    5 wich is wrong (4.5 is the answer)

    so u include iostream

    create main function, declare the variables and write the equation
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “How do you Evaluate an equation doing dry run? In C + + language whats the order for using the operators like +, -, /, * ? For Example ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers