DEV Community

madina1575
madina1575

Posted on • Edited on

EXPRESSIONS / IFODALAR

Ifodalar - operator dasturlashning asosiy sintaksi hisoblanadi.

Addition (qo'shish) -> +
Subtraction(ayirish) -> -
Multiplication(ko'paytirish) -> *
Division(bo'lish) -> /
Modulus(qoldiq) -> %

/ bo'lishda ishlash
int -> int => int
int -> float => float
float -> int => float
float -> float => float

  • / - bo'lish operatori juda nozik operator, sababi butun sonlarni va kasr sonlarni bo'lish har xil.

  • butun sonlarni butun sonlarga bo'lganda doimo natija butun son chiqadi, qoldiq qismi tashlab yuboriladi.

Top comments (0)

Image of AssemblyAI

Automatic Speech Recognition with AssemblyAI

Experience near-human accuracy, low-latency performance, and advanced Speech AI capabilities with AssemblyAI's Speech-to-Text API. Sign up today and get $50 in API credit. No credit card required.

Try the API

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay