English
Open in Telegram

Thread#If 14

3 messages · –
@
#If 14 #include<iostream> using namespace std; int main(){ int a, b, c; cout << "a = "; cin >> a; cout << "b = "; cin >> b; cout << "c = "; cin >> c; if(a <= b && b <= c) { cout << "a = " << a << endl; cout << "c = " << c << endl; } else if(b <= a && a <= c) { cout << "b = " << b << endl; cout << "c = " << c << endl; } else if(c <= a && a <= b) { cout << "c = " << c << endl; cout << "b = " << b << endl; } else if(c <= b && b <= a) { cout << "c = " << c << endl; cout << "a = " << a << endl; } else if(a <= c && c <= b) { cout << "a = " << a << endl; cout << "b = " << b << endl; } else if(b <= c && c <= a) { cout << "b = " << b << endl; cout << "a = " << a << endl; } return 0; }
1 · 642 ·
  1. D
    Bu mavzuni avval o'tgan edik men tushunmaganman
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