9: priority operator

Here write about the priority of arithmetic operators.

aims:

1: first subtraction multiplication and division after

2: The parentheses are the first priority.

3: brackets, the brackets can be nested

Default:

1: setting variables, calculates.

2 :: Results prints were tested

 

 

 

 

 

 

 

Published 45 original articles · won praise 0 · Views 505

Guess you like

Origin blog.csdn.net/tainwaifeixian/article/details/104576049