Thida Lang
  • Getting Start
    • Introduction
    • Usage
  • Documentation
    • Expression
    • Print Output
    • Data Types
    • Variables
    • Operators
    • Control flow
    • Function
  • Contribution
    • Contributor
    • Acknowledgement
  • References
    • Myanmar grammar
    • Python
Powered by GitBook
On this page
  1. Documentation

Operators

Operators

Thida Lang supports basic arithmetic and comparison operators:

  • Addition:

a နဲ့ b ကို ပေါင်းပါ။ ( a , b ) သည် variables နှစ်ခု ဖြစ်သည်။
  • Subtraction:

a ထဲက b ကို နှုတ်ပါ။ ( a , b ) သည် variables နှစ်ခု ဖြစ်သည်။
  • Multiplication:

a နဲ့ b ကို မြှောက်ပါ။ ( a , b ) သည် variables နှစ်ခု ဖြစ်သည်။
  • Division:

a ကို b ဖြင့်စားပါ။ ( a , b ) သည် variables နှစ်ခု ဖြစ်သည်။

Comparison operators:

  • Greater than:

a သည် b ထက် ကြီးသည်။
  • Less than:

a သည် b ထက် ငယ်သည်။
  • Equal to:

a သည် b နဲ့ တူသည်။
PreviousVariablesNextControl flow

Last updated 1 year ago