Does multiplication have a higher precedence than division | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Does multiplication have a higher precedence than division

22nd Aug 2019, 4:55 PM
Samuel T.P
Samuel T.P - avatar
6 Answers
+ 3
Kuri Agent_I thx for answer. Was looking for the answer as well :)
22nd Aug 2019, 5:08 PM
Minerals2016
Minerals2016 - avatar
+ 2
What language? In most of programming languages, multiplication has the same precedence as division; so no, multiplication doesn't have a higher precedence than division
22nd Aug 2019, 5:05 PM
Agent_I
Agent_I - avatar
+ 2
NO. They both have the same precedence in ANY context. So the one written first, will be executed first.
22nd Aug 2019, 5:29 PM
Tashila Pathum
Tashila Pathum - avatar
+ 1
Yep
22nd Aug 2019, 4:58 PM
Kuri
Kuri - avatar
+ 1
They both have the same precedence
23rd Aug 2019, 11:11 PM
Audu Peter Iko-Ojo
Audu Peter Iko-Ojo - avatar
0
Yes
2nd Oct 2019, 5:57 PM
BESTHA KOMALA
BESTHA KOMALA - avatar