print(3-10**2+99/11)
Answers
Answered by
1
Answer:
class anc
{
System.out.print("3-(10*2)+99/11);
}
Answered by
2
-88.0
Python Code
print(3-10**2+99/11)
Output
-88.0
- An expression may contain more than one operator. In Python, there is a rule of precedence for evaluating these kinds of expressions. It directs the sequence in which certain tasks are completed. For instance, multiplication comes before subtraction.
- PEMDAS, which stands for Parenthesis (), Exponential **, Multiplication *, Division /, Addition +, and Subtraction -, provides the correct sequence of precedence.
- Parentheses can be used to compel an expression to evaluate in the desired order because they have the highest precedence.
#SPJ2
Similar questions