| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

Operators

Page history last edited by Lucas Wojciechowski 15 years, 6 months ago

Operators

  • All basic operators work as expected
    • - minus
    • + plus
    • * multiply
    • / divide
  • Incriment and decrement operators
    • ++ incriment
    • -- decrement
    • Add or subtract a varible by 1

 

Modulus Operator

  • Symbolized with a %
  • Returns the remander of a division problem
  • Can only be used on non-floating point varibles.

 

Relational Operators

  • Relate one value to another
  • Returns a boolean value
  • Includes operators such as
    • > less than and >= less than or equal to
    • < greter than and <= greater than or equal to
    • != not equal to
    • == equal to

 

Logical Operators

  • Returns a boolean value
  • Compare multiple statements

&&

and

||

or

!

not

 

Comments (0)

You don't have permission to comment on this page.