English
Open in Telegram

Thread#If 3

3 messages · –
@
#If 3 #include<iostream> using namespace std; int main(){ int n; cout << "n = "; cin >> n; if(n > 0) n++; else if(n < 0) n = n - 2; else n = 10; cout << "natija = " << n; return 0; }
315 ·
  1. D
    +-----------------+ | Boshlanish | +-----------------+ | v +-----------------+ | int n; | +-----------------+ | v +----------------------+ | cout << "n = "; | +----------------------+ | v +----------------------+ | cin >> n; | +----------------------+ | v +----------------------+ | n > 0 ? | +----------------------+ / / v v +---------+ +---------------------+ | n++; | | n < 0 ? | +---------+ +---------------------+ / / v v +-------+ +-----------+ | n = n | | n = 10; | | - 2; | +-----------+ +-------+ | v +----------------------+ | cout << "natija = " << n; | +----------------------+ | v +-----------------+ | Tugash | +-----------------+
CC++ vs PythonC++ vs Python@cpp_vs_python · group · Tech
114members39 409messages in the index
Venue feed Open in Telegram

An open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · Index limits · Remove a page · Catalog · Search · How we count