DEV Community

Sanjar Rashidov
Sanjar Rashidov

Posted on

Arifmetik operatorlar

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

Top comments (0)