C ++ 9-Dars

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 <…


This content originally appeared on DEV Community 👩‍💻👨‍💻 and was authored by Jafar9442

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


This content originally appeared on DEV Community 👩‍💻👨‍💻 and was authored by Jafar9442


Print Share Comment Cite Upload Translate Updates
APA

Jafar9442 | Sciencx (2022-12-23T13:43:15+00:00) C ++ 9-Dars. Retrieved from https://www.scien.cx/2022/12/23/c-9-dars/

MLA
" » C ++ 9-Dars." Jafar9442 | Sciencx - Friday December 23, 2022, https://www.scien.cx/2022/12/23/c-9-dars/
HARVARD
Jafar9442 | Sciencx Friday December 23, 2022 » C ++ 9-Dars., viewed ,<https://www.scien.cx/2022/12/23/c-9-dars/>
VANCOUVER
Jafar9442 | Sciencx - » C ++ 9-Dars. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/12/23/c-9-dars/
CHICAGO
" » C ++ 9-Dars." Jafar9442 | Sciencx - Accessed . https://www.scien.cx/2022/12/23/c-9-dars/
IEEE
" » C ++ 9-Dars." Jafar9442 | Sciencx [Online]. Available: https://www.scien.cx/2022/12/23/c-9-dars/. [Accessed: ]
rf:citation
» C ++ 9-Dars | Jafar9442 | Sciencx | https://www.scien.cx/2022/12/23/c-9-dars/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.