* / + = % Ma'limot !

feyyame1

feyyame1

Posted on December 19, 2022

* / + = % Ma'limot !

*Foizli bo'lish usuli uchun *

int main (){
cout << 3 / 10 << endl;
  cout << 3 % 10 ;
  }  
Enter fullscreen mode Exit fullscreen mode

Masalada undovni (!) ni chiqarish uchun

 cin >> son;
  cout << son /10000 << '!';
 cout << son / 1000 % 10 << '!'; 
cout << son /100 % 10 << '!';
cout << son/ 10 % 10 << '!';
  cout << son %10;

Enter fullscreen mode Exit fullscreen mode

*sonni markazga o'tkazish uchun *

int son ; 
  cin >> son;
   cout << 100 % 10;

Enter fullscreen mode Exit fullscreen mode

@dawroun

💖 💪 🙅 🚩
feyyame1
feyyame1

Posted on December 19, 2022

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related