Arifmetik operatorlar

Sanjar Rashidov - Nov 2 - - Dev Community

Arifmetik operatorlar:

  1. + -> qo'shish
  2. - -> ayrish
  3. * -> ko'paytirish
  4. / -> bo'lish

Bo'lish operatori juda nozik operator sababi butun sonlarni va kasr sonlarni bo'lshd farq qiladi.

  • int / int = int
  • float / float = float
  • int / float = float
  • float / int = float
. . . . . . . . . . . . . . . . . . . .