c++ da cin buyrug'i haqida qisqacha malumot
Yasina2005
Posted on March 7, 2023
Biz sizlar bilan bugun c++ da cin buyrug'ini ko'rib chiqamiz dastlab //int bu qisqartma shakli bu esa integer qisqarmagan shakli biz bundan butun sonlarni saqlashda foydalanamiz.Endi esa biz o'rganadigan //string biz bunda tekstlarni saqlashimiz mumkin.Bunga misol tariqasida bularni ko'rishimiz mumkin.
#include <iostream>
using namespace std;
int main(){
int n;
cin >> n;
cout<<n<<n<<n<<n<<n<<n<<endl;
cout<<n<<" "<<n<<endl;
cout<<n<<" "<<n<<endl;
cout<<n<<n<<n<<n<<n<<n<<endl;
return 0;
}
💖 💪 🙅 🚩
Yasina2005
Posted on March 7, 2023
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
githubcopilot AI Innovations at Microsoft Ignite 2024 What You Need to Know (Part 2)
November 29, 2024