C ++ 9-Dars
Jafar9442
Posted on December 23, 2022
Ushbu loyhada
elon qilingan narsamizni o'zgartirishni o'rganamiz.
#include <iostream>
using namespace std;
int main() {
int a = 10;
string ism = "JAFAR"; // elon qilgan ism = tekst
cout << a << endl;
cout << ism << endl;
a = 20; // elon qilgan a-ni qiymatini o'zgartirish.
ism = "kimsan"; // elon qilgan tekst-ni o'zgartirish.
cout << a << endl;
cout << ism;
return 0;
}
Ushbu loyhada
qisqartirib yozishni o'rganamiz.
#include <iostream>
int main() {
int a = 5;
int b = 6;
b = b + a; // b + = a;
a =a - 10; // a = a - = 10;
b * = 3; // b = b *3;
a / = b; // a = a / b;
cout << b;
return 0;
}
noutbook da MODEL Lenovo
windovs + shift + S = scren sho't
@dawroun
💖 💪 🙅 🚩
Jafar9442
Posted on December 23, 2022
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.