This content originally appeared on DEV Community 👩‍💻👨‍💻 and was authored by Charos1mm
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
This content originally appeared on DEV Community 👩‍💻👨‍💻 and was authored by Charos1mm

Charos1mm | Sciencx (2022-12-23T13:47:43+00:00) ASSIGMENT. Retrieved from https://www.scien.cx/2022/12/23/assigment/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.