DEV Community

Rivojiddin
Rivojiddin

Posted on

1 1 1 1 1

if - else haqida tushuncha

C++ if, if...else va Nested if...else
Kompyuter dasturlashda biz bir kod blokini ma'lum shartlarda va boshqa kod blokini turli sharoitlarda ishga tushirish uchun if...else operatoridan foydalanamiz.
Image description
If else konstruktsiyasi bir yoki bir nechta shartlarni tekshirishga imkon beradi va agar shart to'g'ri bo'lmasa, boshqa kodni bajaring yoki boshqa shartni tekshiring.

Image description

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay