Computer Programming
262 subscribers
58 photos
15 videos
55 files
16 links
- Programming Lessons
- Daily problems
- Guide books

Murojaat: @asadbek_tolqinjonov
Download Telegram
// integer 12
// 123 = 1*100+2*10+3
// 321 = 3*100+2*10+1
// int A, B, yuz, on, bir;
// cout<<"Uch xonali son: "; cin>>A;
// yuz = A/100;
// on = A%100/10;
// bir = A%10;
// B = bir*100+on*10+yuz;
// cout<<"Teskari son: "<<B;
Integer va beginda muammolar yo'qmi?
1
// bool 40
// ot: x -> 2; y->1
// ot: x-> 1; y->2
// int x1, y1, x2, y2;
// cout<<"Birinchi katak: "; cin>>x1>>y1;
// cout<<"Ikkinchi katak: "; cin>>x2>>y2;
// bool k = abs(x1-x2)==2 and abs(y1-y2)==1 or abs(x1-x2)==1 and abs(y1-y2)==2;
// cout<<boolalpha<<k;
Tushunyapsizlarmi?
// Problem 13 - Kvadrat tenglama
// Yechimi yo'q D<0
// Bitta yechim D==0 x = -b/2a
// Ikkita yechim D>0 x1 = (-b+sqrt(D))/(2*a); x2 = (-b-sqrt(D))/(2*a)

// float a, b, c, x1, x2, D;
// cout<<"Enter the coefitcents of Quadratic equation: "; cin>>a>>b>>c;
// D = pow(b,2) - 4*a*c;
// if(D<0){
// cout<<"Ildizi yo'q";
// }else if(D==0){
// x1 = -b/(2*a);
// cout<<"x = "<<x1;
// }else{
// x1 = (-b+sqrt(D))/(2*a);
// x2 = (-b-sqrt(D))/(2*a);
// cout<<"x1 = "<<x1<<endl;
// cout<<"x2 = "<<x2<<endl;
// }
// 1.c
// int n; cin>>n;
// float S = 0;
// float P=1;
// for(float i=1; i<=n; i++){
// P*=i;
// S+=1/P;
// }
// cout<<"S = "<<S;
Sizlarda problems bormi?
Live stream finished (1 hour)
If you have any questions
Write @asadbek_tolqinjonov
Media is too big
VIEW IN TELEGRAM
🎥Lesson 6
💻C++ Programming
🧩Hard Problems

#cpp

@cpp_sirius👨‍💻
Sikl operatorlari.pdf
1.4 MB
For-while.

Problems

@cpp_sirius👨‍💻
Terminal Commands