Question about operators

2 views
Skip to first unread message

Christian

unread,
Sep 19, 2011, 2:13:52 PM9/19/11
to SJSUcmpe130
What do these do **, mod, div ?

is it :

8 div 4 = 2
8 mod 4 = 0 (remainder?)

if so how about ** ?

Frank (sjsu) Lin

unread,
Sep 19, 2011, 2:29:41 PM9/19/11
to xtian...@gmail.com, SJSUcmpe130
operator can be defined by convention.  in this case, we just use ** to mean the same as ^ (exponential).
Reply all
Reply to author
Forward
0 new messages