*Foizli bo'lish usuli uchun *
int main (){
cout << 3 / 10 << endl;
cout << 3 % 10 ;
}
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;
*sonni markazga o'tkazish uchun *
int son ;
cin >> son;
cout << 100 % 10;
Top comments (0)