- #1
Maybe_Memorie
- 353
- 0
Homework Statement
Evaluate the following expressions
(i) 1 - 2/3 + 4 - 5
(ii) 1 - 2/3 + 4.0 - 5
(iii) 1 - 2/3.0 + 4 - 5
(iv) 1 + 4*3/2
(v) 1 + 3/2*4
(vi) 'h' - 'e' + 'l' - 'p'
The Attempt at a Solution
The answers for each question respectively are
0
0.0
-.666667
7
5
-1
I am completely lost here. I have no idea what the differences between the first 3 are or the 4th and 5th. There is nothing about this in my notes.
Any advice is greatly appreciated.