4lab(75)

Run Settings
LanguageC++
Language Version
Run Command
#include <iostream> using namespace std; int main() { int x,a,b,c; cin >> x; a = (x/100)%10; b = (x/10)%10; c = x%10; if(a == b && a == c && b ==c) cout << "Все цифры одинаковы" << endl; else if(a == b or a == c or a == c or b == c) cout << "Среди цифр еcть одинаковые" << endl; else cout << "Среди цифр нет одинаковых" << endl; return 0; }
Editor Settings
Theme
Key bindings
Full width
Lines