Biz bugun assigmentni
organdik .
int main1() {
int a= 10;
string ism = "davron";
cout << a << endl;
cout << ism << endl;
a =20;
ism ="kimsan";
cout << a << endl;
cout << ism;
return 0;
}
Hatoki masalalar yechishni ham organdik.
#include <iostream>
#include <cmath>
using namespace std;
int main () {
double L;
cin >> L;
float PI = 3.14;
float r = L/ (2*PI);
float S =PI * (r * r);
cout << round (S);
return 0;
}
KUNDAN KUNGA DARSIMIZA QIZIQARLI BOLIB BORMOQDA.BIZLAR JUDA KOP NARSALARNI ORGANDIK .
MASALAN BULARGA MISOL: # include <iostream >
bu digani kutbxona chaqirish digani, /
degani bu butun son chiqarish degani,%
esa qoldig'ini chiqarib beradi,assignment
ham organdik.
Assignment
biz yozgan ko'dlarni qisqartirib yozib beradi.
b = b + a; // b += a
b = b - a; // b -= a
b = b / a; // b /= a
b = b * a; // b *= a
Top comments (1)
zo'r, malades