View Single Post
  #2 (permalink)  
Old 10-30-2005, 08:30 PM
newdigital newdigital is offline
Administrator
 
Join Date: Sep 2005
Posts: 15,980
Blog Entries: 68
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
I want to ask about arithmetical operators.

1. It is written the following:
A = B + C, with description that add A to B and assign the result to C.
Is it mistake?
The same with A = B - C.

2. And I do not understand A = A % C, with description: A is remider of division of B on C(ex: 10%2 will produce 0).
I simple do not understand 10 % 2 = 0 and 10 % 3 = 1.
May you explain? :confused:

3. It was mentioned that we can not write as:
A=(B++)*5
we must write: :confused:
A++;
B=A*5


May be the following:
B++;
A=B*5
Reply With Quote