C++ եմ սովորում ու գրքում մոտավորապես այսպիսի օրինակ կա
Իսկ դուք ինչ եք մտածում ???Կոդ:#include<iostream.h> #include<cstdlib> int main() { enum Days {Kiraki,Erkushapti,Ereqshapti,Choreqshapti, Hingshapti,Urpat,Shapat} ; int choice ; cout << "Mutqagrir or@ ( 0-6 ) :" << endl; cin >> choice ; if ( choice = Kiraki || choice == Shapat ) //չգիտեմ ինչի ա մի տեղ = , մի տեղ == :o cout << "Qo mot hangstyan or e :" << endl; else cout << "Qo mot paxat anelu or e :" << endl << "Gna paxat ara !!!" << endl << endl ; system("pause"); return 0; }




Մեջբերել


Ախր ձեռս Python-ին ա սովոր, որը սինտաքսային սխալ ա տալիս պայմանի մեջ վերագրում կատարելուց:


Էջանիշներ